diff options
author | davilla <davilla@4pi.com> | 2011-10-01 19:15:00 -0400 |
---|---|---|
committer | davilla <davilla@4pi.com> | 2011-10-01 19:15:32 -0400 |
commit | b9ba8b8590b4089bff268ba377cf6247724650be (patch) | |
tree | 0c07583a23439f4c16de3b177dc048ea286d48e3 /tools/darwin | |
parent | cfc57f2c4bced96b2c8dd110f1d5fd9045b4ec17 (diff) |
[osx/ios] changed compile flags to accept env set flags
Diffstat (limited to 'tools/darwin')
-rwxr-xr-x | tools/darwin/depends/config.site_ios.in | 8 | ||||
-rwxr-xr-x | tools/darwin/depends/config.site_ios.mk.in | 8 | ||||
-rw-r--r-- | tools/darwin/depends/config.site_osx.in | 8 | ||||
-rw-r--r-- | tools/darwin/depends/config.site_osx.mk.in | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/tools/darwin/depends/config.site_ios.in b/tools/darwin/depends/config.site_ios.in index 0ae0df4711..84c599d627 100755 --- a/tools/darwin/depends/config.site_ios.in +++ b/tools/darwin/depends/config.site_ios.in @@ -12,13 +12,13 @@ platform_sdk_path="${platform_path}/SDKs/iPhoneOS${platform_sdk_version}.sdk" export NM=/usr/bin/nm export CPP=/usr/bin/cpp-${platform_gcc_version} export CXXCPP=${CPP} -export CPPFLAGS="-no-cpp-precomp -I${prefix}/include" +export CPPFLAGS+="-no-cpp-precomp -I${prefix}/include" export CC=${platform_path}/usr/bin/gcc-${platform_gcc_version} -export CFLAGS="-std=gnu99 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} -I${platform_sdk_path}/usr/include" +export CFLAGS+="-std=gnu99 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} -I${platform_sdk_path}/usr/include" export LD=${platform_path}/usr/bin/ld -export LDFLAGS="-m${platform_min_version} -isysroot ${platform_sdk_path} -L${platform_sdk_path}/usr/lib -L${platform_sdk_path}/usr/lib/system ${platform_os_ldflags} -L${prefix}/lib" +export LDFLAGS+="-m${platform_min_version} -isysroot ${platform_sdk_path} -L${platform_sdk_path}/usr/lib -L${platform_sdk_path}/usr/lib/system ${platform_os_ldflags} -L${prefix}/lib" export CXX=${platform_path}/usr/bin/g++-${platform_gcc_version} -export CXXFLAGS="-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags}" +export CXXFLAGS+="-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags}" export AR=${platform_path}/usr/bin/ar export AS="@use_toolchain@/bin/gas-preprocessor.pl ${CC}" export M4=@use_toolchain@/bin/m4 diff --git a/tools/darwin/depends/config.site_ios.mk.in b/tools/darwin/depends/config.site_ios.mk.in index de5054e5d0..f479f37ce8 100755 --- a/tools/darwin/depends/config.site_ios.mk.in +++ b/tools/darwin/depends/config.site_ios.mk.in @@ -12,13 +12,13 @@ platform_sdk_path=${platform_path}/SDKs/iPhoneOS${platform_sdk_version}.sdk export NM=/usr/bin/nm export CPP=/usr/bin/cpp-${platform_gcc_version} export CXXCPP=${CPP} -export CPPFLAGS=-no-cpp-precomp -I${PREFIX}/include +export CPPFLAGS+=-no-cpp-precomp -I${PREFIX}/include export CC=${platform_path}/usr/bin/gcc-${platform_gcc_version} -export CFLAGS=-std=gnu99 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} -I${platform_sdk_path}/usr/include +export CFLAGS+=-std=gnu99 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} -I${platform_sdk_path}/usr/include export LD=${platform_path}/usr/bin/ld -export LDFLAGS=-m${platform_min_version} -isysroot ${platform_sdk_path} -L${platform_sdk_path}/usr/lib -L${platform_sdk_path}/usr/lib/system ${platform_os_ldflags} -L${PREFIX}/lib +export LDFLAGS+=-m${platform_min_version} -isysroot ${platform_sdk_path} -L${platform_sdk_path}/usr/lib -L${platform_sdk_path}/usr/lib/system ${platform_os_ldflags} -L${PREFIX}/lib export CXX=${platform_path}/usr/bin/g++-${platform_gcc_version} -export CXXFLAGS=-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} +export CXXFLAGS+=-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} export AR=${platform_path}/usr/bin/ar export AS=@use_toolchain@/bin/gas-preprocessor.pl ${CC} export CCAS=--tag CC @use_toolchain@/bin/gas-preprocessor.pl ${CC} diff --git a/tools/darwin/depends/config.site_osx.in b/tools/darwin/depends/config.site_osx.in index 2390dbdd40..85335d9352 100644 --- a/tools/darwin/depends/config.site_osx.in +++ b/tools/darwin/depends/config.site_osx.in @@ -22,13 +22,13 @@ platform_sdk_path="${platform_path}/SDKs/MacOSX${platform_sdk_version}.sdk" export NM=/usr/bin/nm export CPP=/usr/bin/cpp-${platform_gcc_version} export CXXCPP=${CPP} -export CPPFLAGS="-no-cpp-precomp -I${prefix}/include" +export CPPFLAGS+="-no-cpp-precomp -I${prefix}/include" export CC=/usr/bin/gcc-${platform_gcc_version} -export CFLAGS="-std=gnu89 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags}" +export CFLAGS+="-std=gnu89 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags}" export LD=${platform_path}/usr/bin/ld -export LDFLAGS="-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_ldflags} -L${prefix}/lib" +export LDFLAGS+="-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_ldflags} -L${prefix}/lib" export CXX=/usr/bin/g++-${platform_gcc_version} -export CXXFLAGS="-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags}" +export CXXFLAGS+="-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags}" export AR=${platform_path}/usr/bin/ar export AS=${platform_path}/usr/bin/as export M4=@use_toolchain@/bin/m4 diff --git a/tools/darwin/depends/config.site_osx.mk.in b/tools/darwin/depends/config.site_osx.mk.in index 54c43f8510..e046977f2f 100644 --- a/tools/darwin/depends/config.site_osx.mk.in +++ b/tools/darwin/depends/config.site_osx.mk.in @@ -21,13 +21,13 @@ platform_sdk_path=${platform_path}/SDKs/MacOSX${platform_sdk_version}.sdk export NM=/usr/bin/nm export CPP=/usr/bin/cpp-${platform_gcc_version} export CXXCPP=${CPP} -export CPPFLAGS=-no-cpp-precomp -I${PREFIX}/include +export CPPFLAGS+=-no-cpp-precomp -I${PREFIX}/include export CC=/usr/bin/gcc-${platform_gcc_version} -export CFLAGS=-std=gnu89 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} +export CFLAGS+=-std=gnu89 -no-cpp-precomp -m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} export LD=${platform_path}/usr/bin/ld -export LDFLAGS=-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_ldflags} -L${PREFIX}/lib +export LDFLAGS+=-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_ldflags} -L${PREFIX}/lib export CXX=/usr/bin/g++-${platform_gcc_version} -export CXXFLAGS=-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} +export CXXFLAGS+=-m${platform_min_version} -isysroot ${platform_sdk_path} ${platform_os_cflags} export AR=${platform_path}/usr/bin/ar export AS=${platform_path}/usr/bin/as export STRIP=${platform_path}/usr/bin/strip |