diff options
| author | Max Howell | 2011-08-25 00:27:44 +0100 |
|---|---|---|
| committer | Max Howell | 2011-08-25 00:36:37 +0100 |
| commit | 90393c32dbe77497912ba53b8a608de336c66a22 (patch) | |
| tree | 15f59a194c2dc17cf6f91dc10e9612d6515fdc6f /Library | |
| parent | 9da7f5fe316a5e8e78cebe4d22a66caaadf6b64c (diff) | |
| download | homebrew-90393c32dbe77497912ba53b8a608de336c66a22.tar.bz2 | |
-march=native doesn't work at all. Gee.
Fixes #7185.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 4 |
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 |
