fix argument list for -framework Accelerate on OS X (arguments were fused into a single string)
This commit is contained in:
parent
74ec58c12e
commit
d6f2b9561a
2
wscript
2
wscript
@ -259,7 +259,7 @@ def set_compiler_flags (conf,opt):
|
|||||||
if conf.env['FPU_OPTIMIZATION']:
|
if conf.env['FPU_OPTIMIZATION']:
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
compiler_flags.append("-DBUILD_VECLIB_OPTIMIZATIONS");
|
compiler_flags.append("-DBUILD_VECLIB_OPTIMIZATIONS");
|
||||||
linker_flags.append("-framework Accelerate")
|
linker_flags.append(['-framework', 'Accelerate'])
|
||||||
elif conf.env['build_target'] == 'i686' or conf.env['build_target'] == 'x86_64':
|
elif conf.env['build_target'] == 'i686' or conf.env['build_target'] == 'x86_64':
|
||||||
compiler_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
|
compiler_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
|
||||||
if not build_host_supports_sse:
|
if not build_host_supports_sse:
|
||||||
|
Loading…
Reference in New Issue
Block a user