From 9ab17635f318b6116a8e691265fbaa76abb6d0f1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 12 Aug 2015 06:22:18 +0200 Subject: [PATCH] regexp fun --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index bcffc419b8..96aca86efe 100644 --- a/wscript +++ b/wscript @@ -455,7 +455,7 @@ int main() { return 0; }''', # 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(conf.env['CC'])): + if re.search ('^x86_64', str(conf.env['CC'])) != None: compiler_flags.append ("-DBUILD_SSE_OPTIMIZATIONS") if not build_host_supports_sse: print("\nWarning: you are building Ardour with SSE support even though your system does not support these instructions. (This may not be an error, especially if you are a package maintainer)")