summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-03-05 15:51:04 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-03-05 15:51:04 +0000
commitcaeb564748e7ece1025f55f005fe5591795ec234 (patch)
treeff19117ae1e4c80976c7483b92bb9854c338351f
parent671967bfac2f77d0434710ac470c60fa97b9df14 (diff)
Build correctly on mactel systems.
git-svn-id: svn://localhost/trunk/ardour2@348 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index c8cc324c18..ba7f644a9e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -650,7 +650,7 @@ elif ((re.search ("i[0-9]86", config[config_cpu]) != None) or (re.search ("x86_6
opt_flags.extend (["-msse", "-mfpmath=sse"])
debug_flags.extend (["-msse", "-mfpmath=sse"])
- if env['FPU_OPTIMIZATION']:
+ if env['FPU_OPTIMIZATION'] and build_host_supports_sse:
opt_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
debug_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
if env['DIST_TARGET'] == 'x86_64':