summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-02-19 16:19:32 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-02-19 16:19:32 +0000
commita42e9393a14c9d5d744eb3eff9df5ce6ae46a5c3 (patch)
treeb673b04d2b609262941c4574051b5c44d3dabd95 /SConstruct
parent7885988df9c4a7690424952d9e8557fc87f3ae18 (diff)
force 32-bit comilation if VST=1
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4638 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index ebeb065ed8..4c0fc753bd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -715,6 +715,14 @@ elif ((re.search ("i[0-9]86", config[config_cpu]) != None) or (re.search ("x86_6
if ((env['DIST_TARGET'] == 'i686') or (env['DIST_TARGET'] == 'x86_64')) and build_host_supports_sse:
opt_flags.extend (["-msse", "-mfpmath=sse", "-DUSE_XMMINTRIN"])
debug_flags.extend (["-msse", "-mfpmath=sse", "-DUSE_XMMINTRIN"])
+
+ if (env['VST']):
+ #
+ # everything must be 32 bit for VST (we're not replicating Cakewalk's hack, yet ...)
+ #
+ opt_flags.extend(["-m32"])
+ debug_flags.extend(["-m32"])
+
# end of processor-specific section
# optimization section