aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2011-08-25 00:27:44 +0100
committerMax Howell2011-08-25 00:36:37 +0100
commitac60ff2b14fde6ef7ffe291ab3e1a3c4fe9892e8 (patch)
treeab4ad18d931f55046e8a6ed1244b045f3474f069 /Library/Homebrew
parent3299ffe5904bb5d0664c7fd77119556570dd7704 (diff)
downloadbrew-ac60ff2b14fde6ef7ffe291ab3e1a3c4fe9892e8.tar.bz2
-march=native doesn't work at all. Gee.
Fixes Homebrew/homebrew#7185.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 86de1a35a..dc1c93898 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -62,7 +62,9 @@ module HomebrewEnvExtension
else
# note that this didn't work on older versions of Xcode's gcc
# and maybe still doesn't. But it's at least not worse than nothing.
- cflags << "-march=native"
+ # UPDATE with Xcode 4.1 doesn't work at all.
+ # TODO there must be something useful!?
+ #cflags << "-march=native"
end
# gcc doesn't auto add msse4 or above (based on march flag) yet
case Hardware.intel_family