build-scripts/g++-fat.sh
changeset 10176 3115d38204aa
parent 9783 013201812ffb
equal deleted inserted replaced
10175:fcf0d3ca1fa2 10176:3115d38204aa
     4 #
     4 #
     5 # Usage: ./configure CXX="sh g++-fat.sh" && make && rm -rf x86 x64
     5 # Usage: ./configure CXX="sh g++-fat.sh" && make && rm -rf x86 x64
     6 
     6 
     7 DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
     7 DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
     8 
     8 
     9 # Intel 32-bit compiler flags (10.5 runtime compatibility)
     9 # Intel 32-bit compiler flags (10.6 runtime compatibility)
    10 GCC_COMPILE_X86="g++ -arch i386 -mmacosx-version-min=10.5 \
    10 GCC_COMPILE_X86="g++ -arch i386 -mmacosx-version-min=10.6 \
    11 -I/usr/local/include"
    11 -I/usr/local/include"
    12 
    12 
    13 GCC_LINK_X86="-mmacosx-version-min=10.5"
    13 GCC_LINK_X86="-mmacosx-version-min=10.6"
    14 
    14 
    15 # Intel 64-bit compiler flags (10.6 runtime compatibility)
    15 # Intel 64-bit compiler flags (10.6 runtime compatibility)
    16 GCC_COMPILE_X64="g++ -arch x86_64 -mmacosx-version-min=10.6 \
    16 GCC_COMPILE_X64="g++ -arch x86_64 -mmacosx-version-min=10.6 \
    17 -I/usr/local/include"
    17 -I/usr/local/include"
    18 
    18