aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2014-05-22 09:18:34 -0500
committerJack Nagel2014-05-22 09:18:34 -0500
commitd88c3798fa5db012dd479a442f4c5e2fc0f4f5df (patch)
treea92d065281a6c9341051d1ad81bb29f837c4a303 /Library/Homebrew/extend
parent4c91661413f13d327d44b247b7088732d0dc1dcb (diff)
downloadhomebrew-d88c3798fa5db012dd479a442f4c5e2fc0f4f5df.tar.bz2
Add ENV.m64 to superenv
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index 011b854ab..d42aa4b57 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -300,6 +300,10 @@ module Superenv
append "HOMEBREW_ARCHFLAGS", "-m32"
end
+ def m64
+ append "HOMEBREW_ARCHFLAGS", "-m64"
+ end
+
def cxx11
case homebrew_cc
when "clang"
@@ -339,7 +343,7 @@ module Superenv
# These methods provide functionality that has not yet been ported to
# superenv.
- noops.concat %w{m64 gcc_4_0_1 minimal_optimization no_optimization enable_warnings}
+ noops.concat %w{gcc_4_0_1 minimal_optimization no_optimization enable_warnings}
noops.each { |m| alias_method m, :noop }
end