13
0

fix argument list for -framework Accelerate on OS X (arguments were fused into a single string)

This commit is contained in:
Paul Davis 2014-07-15 10:19:16 -04:00
parent 74ec58c12e
commit d6f2b9561a

View File

@ -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: