Enforce 10.5 as minimum OSX SDK framework to use

This commit is contained in:
Max Howell 2009-07-27 16:18:17 +01:00
parent fb5aefd4a0
commit 7ebe8084ec

View File

@ -23,7 +23,7 @@ require 'formula'
# http://forums.mozillazine.org/viewtopic.php?f=12&t=577299
# http://gcc.gnu.org/onlinedocs/gcc-4.0.1/gcc/i386-and-x86_002d64-Options.html
ENV['MACOSX_DEPLOYMENT_TARGET']='10.5'
ENV['CFLAGS']=ENV['CXXFLAGS']='-O3 -w -pipe -fomit-frame-pointer -march=prescott'
ENV['CFLAGS']=ENV['CXXFLAGS']='-O3 -w -pipe -fomit-frame-pointer -march=prescott -mmacosx-version-min=10.5'
# lets use gcc 4.2, it is newer and "better", at least I believe so, mail me
# if I'm wrong