another waf/regexp issue (amend 4666711)
authorRobin Gareus <robin@gareus.org>
Wed, 12 Aug 2015 05:39:12 +0000 (07:39 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 12 Aug 2015 05:39:12 +0000 (07:39 +0200)
libs/ardour/wscript

index e5082bf5a99821ae45e8f70e03af9c23d0d8c4eb..c732161ec8f9ae9b81b7aea1eced6aa29c69186d 100644 (file)
@@ -420,7 +420,7 @@ def build(bld):
                 # usability of the 64 bit windows assembler depends on the compiler target,
                 # not the build host, which in turn can only be inferred from the name
                 # of the compiler. 
-                if re.search ('/^x86_64/', str(bld.env['CC'])):
+                if re.search ('x86_64-w64', str(bld.env['CC'])):
                         obj.source += [ 'sse_functions_xmm.cc' ]
                         obj.source += [ 'sse_functions_64bit_win.s',  'sse_avx_functions_64bit_win.s' ]
                         avx_sources = [ 'sse_functions_avx.cc' ]