aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin
diff options
context:
space:
mode:
authordavilla <davilla@4pi.com>2011-10-02 12:04:57 -0400
committerdavilla <davilla@4pi.com>2011-10-02 12:05:18 -0400
commitf3d62476d82c0519f557e57c05b6a36bf29d8c33 (patch)
tree41e23aafe5f8fcf219cdb69ba60321def932cf9c /tools/darwin
parent81399443957445526cc6f1ab54e9b4edfc1bfac5 (diff)
[osx/ios] fixed... again.
Diffstat (limited to 'tools/darwin')
-rw-r--r--tools/darwin/depends/config.site_ios.mk.in8
-rw-r--r--tools/darwin/depends/config.site_osx.mk.in8
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/darwin/depends/config.site_ios.mk.in b/tools/darwin/depends/config.site_ios.mk.in
index c9cf287b25..f479f37ce8 100644
--- 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=${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=${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=${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=${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.mk.in b/tools/darwin/depends/config.site_osx.mk.in
index 07dde59443..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=${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=${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=${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=${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