[Ardour-Dev] building VST=1 defines -DUSE_X86_64_ASM on x86_64

torbenh at gmx.de torbenh at gmx.de
Mon Feb 23 01:49:46 PST 2009


hi... building fails then :P

when you specify -m32, all other stuff must think its on 32bit also.
i dont have the required 32bit dependnecies, so the build fails at me
with link errors, i am currently running scons -k to see if other parts
of ardour fail. 
but so far it seems ok.


diff --git a/SConstruct b/SConstruct
index 4c0fc75..6be0fdc 100644
--- a/SConstruct
+++ b/SConstruct
@@ -734,7 +734,7 @@ if env['FPU_OPTIMIZATION']:
     elif env['DIST_TARGET'] == 'i686' or env['DIST_TARGET'] == 'x86_64':
         opt_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
         debug_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
-        if env['DIST_TARGET'] == 'x86_64':
+        if env['DIST_TARGET'] == 'x86_64' and not env['VST']:
             opt_flags.append ("-DUSE_X86_64_ASM")
             debug_flags.append ("-DUSE_X86_64_ASM")
         if build_host_supports_sse != 1:


-- 
torben Hohn
http://galan.sourceforge.net -- The graphical Audio language



More information about the Ardour-Dev mailing list