Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2013-11-07 17:56:40 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-11-07 17:56:40 +0400
commit463b65bf0a67389b327e87b9e86122251689a7be (patch)
treefd1979c777dd2e32af522cee8642143e85850736 /SConstruct
parenta0286f42f91b3001486abb8999911ebac7560491 (diff)
OSX/scons: ARCH_FLAGS where not prperly added to CPPFLAGS
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index c4079341df9..c76106a0d26 100644
--- a/SConstruct
+++ b/SConstruct
@@ -360,8 +360,8 @@ if env['OURPLATFORM']=='darwin':
ARCH_FLAGS = ['-m64']
else:
ARCH_FLAGS = ['-m32']
-
- env['CPPFLAGS'] = list(ARCH_FLAGS)
+
+ env.Append(CPPFLAGS=ARCH_FLAGS)
SDK_FLAGS=['-isysroot', env['MACOSX_SDK'],'-mmacosx-version-min='+ env['MACOSX_DEPLOYMENT_TARGET'],'-arch',env['MACOSX_ARCHITECTURE']] # always used
env['PLATFORM_LINKFLAGS'] = ['-mmacosx-version-min='+ env['MACOSX_DEPLOYMENT_TARGET'],'-isysroot', env['MACOSX_SDK'],'-arch',env['MACOSX_ARCHITECTURE']]+env['PLATFORM_LINKFLAGS']