summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-08-12 07:07:05 +0200
committerRobin Gareus <robin@gareus.org>2015-08-12 07:07:21 +0200
commit46667116397121a35598e3a62c683ebffa78046f (patch)
tree4bdb91882c4128172d7c1aea16c831a0df108b25 /wscript
parent9ab17635f318b6116a8e691265fbaa76abb6d0f1 (diff)
python /^x86_64/ does not match 'x86_64-w64-mingw32-gcc' so what..
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 96aca86efe..3e72fbc972 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'])) != None:
+ if re.search ('x86_64-w64', 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)")