diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2005-11-01 21:56:23 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:12:00 +0200 |
commit | 449a8062d986c8f59c2ffeef9241b52a159651aa (patch) | |
tree | f4c76958f09f7537e3e14c220efe603c3f928b36 /chaos/SConstruct | |
parent | f29a18911ce09a638646d90d1f72838313419380 (diff) |
small build fix
svn path=/trunk/externals/tb/; revision=3812
Diffstat (limited to 'chaos/SConstruct')
-rw-r--r-- | chaos/SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chaos/SConstruct b/chaos/SConstruct index 499e76a..2c682b8 100644 --- a/chaos/SConstruct +++ b/chaos/SConstruct @@ -64,14 +64,14 @@ else: if env.Dictionary().has_key('pd_path'): env.Append(CPPPATH=[env['pd_path']]) +if env.Dictionary().has_key('simd') and env['simd']: + env.Append(CCFLAGS=' -mfpmath=sse -msse -mmmx -msse2') + if env.Dictionary().has_key('optimize'): if env['optimize']: env.Append(CCFLAGS=' -O3 '+env['optimize']) env.Append(LINKFLAGS=' -O3 '+env['optimize']) -if env.Dictionary().has_key('simd') and env['simd']: - env.Append(CCFLAGS=' -mfpmath=sse -msse -mmmx -msse2') - if env.Dictionary().has_key('debug') and env['debug']: env.Append(CCFLAGS=' -g ') env.Append(CPPDEFINES=['_DEBUG']) |