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.
This commit is contained in:
Max Howell 2009-09-28 16:18:16 +01:00
parent 2b464a82fa
commit 5abe20b410

View File

@ -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/)