another waf/regexp issue (amend 4666711)

This commit is contained in:
Robin Gareus 2015-08-12 07:39:12 +02:00
parent 4666711639
commit 864b557a3d
1 changed files with 1 additions and 1 deletions

View 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' ]