diff options
author | Robin Gareus <robin@gareus.org> | 2015-08-12 06:22:18 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-08-12 06:22:50 +0200 |
commit | 9ab17635f318b6116a8e691265fbaa76abb6d0f1 (patch) | |
tree | b205612b01f50e8b8759ac019b9e1c4043f3d540 /wscript | |
parent | 6de707b3fcf8d341463c20a9426da4d0ec66709c (diff) |
regexp fun
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)") |