summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorokamstudio <juan@okamstudio.com>2014-02-26 11:18:44 -0200
committerokamstudio <juan@okamstudio.com>2014-02-26 11:18:44 -0200
commita9aae3000f2529dc773a876f3a3908eb9dcb824c (patch)
tree9cb77129bc470c4c5e3d823057f83f8557f91099 /SConstruct
parent47cf3fcec64a34a04995c322808d106a0e2c3736 (diff)
parentabbba50b3201c2e5d94c6a8f092f4aa73dcbf24d (diff)
downloadredot-engine-a9aae3000f2529dc773a876f3a3908eb9dcb824c.tar.gz
Merge pull request #133 from vinzenz/master
More fixes to the build system
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct11
1 files changed, 11 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 4df8e0089d..ed65f2b89f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -173,6 +173,17 @@ for p in platform_list:
env['CCFLAGS'] = ''
env.Append(CCFLAGS=string.split(str(CCFLAGS)))
+
+ CFLAGS = env.get('CFLAGS', '')
+ env['CFLAGS'] = ''
+
+ env.Append(CFLAGS=string.split(str(CFLAGS)))
+
+ LINKFLAGS = env.get('LINKFLAGS', '')
+ env['LINKFLAGS'] = ''
+
+ env.Append(LINKFLAGS=string.split(str(LINKFLAGS)))
+
detect.configure(env)
env['platform'] = p
if not env.has_key('platform_libsuffix'):