diff options
author | okamstudio <juan@okamstudio.com> | 2014-02-26 11:18:44 -0200 |
---|---|---|
committer | okamstudio <juan@okamstudio.com> | 2014-02-26 11:18:44 -0200 |
commit | a9aae3000f2529dc773a876f3a3908eb9dcb824c (patch) | |
tree | 9cb77129bc470c4c5e3d823057f83f8557f91099 /SConstruct | |
parent | 47cf3fcec64a34a04995c322808d106a0e2c3736 (diff) | |
parent | abbba50b3201c2e5d94c6a8f092f4aa73dcbf24d (diff) | |
download | redot-engine-a9aae3000f2529dc773a876f3a3908eb9dcb824c.tar.gz |
Merge pull request #133 from vinzenz/master
More fixes to the build system
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 11 |
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'): |