From 449a8062d986c8f59c2ffeef9241b52a159651aa Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Tue, 1 Nov 2005 21:56:23 +0000 Subject: small build fix svn path=/trunk/externals/tb/; revision=3812 --- chaos/SConstruct | 6 +++--- 1 file 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']) -- cgit v1.2.1