aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-09-28 16:18:16 +0100
committerMax Howell2009-09-29 14:23:00 +0100
commit5abe20b41025640185643675a6fc01c055188e08 (patch)
treee29f7e4f91d9017eb5581c54b958942caec287db /Library
parent2b464a82fa8996f70f4313fa938ba4f903f5b35a (diff)
downloadbrew-5abe20b41025640185643675a6fc01c055188e08.tar.bz2
ENV.O3 -- for when O4 takes forever
Which makes me wonder if it's worth it? Oh well, you can't find these things out without experimentation.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brewkit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/brewkit.rb b/Library/Homebrew/brewkit.rb
index 291116f72..34eb28c95 100644
--- a/Library/Homebrew/brewkit.rb
+++ b/Library/Homebrew/brewkit.rb
@@ -114,6 +114,11 @@ module HomebrewEnvExtension
remove_from_cflags '-msse4.1'
remove_from_cflags '-msse4.2'
end
+ def O3
+ # Sometimes O4 just takes fucking forever
+ remove_from_cflags '-O4'
+ append_to_cflags '-O3'
+ end
def osx_10_4
self['MACOSX_DEPLOYMENT_TARGET']=nil
remove_from_cflags(/ ?-mmacosx-version-min=10\.\d/)