13
0

do not use SSE source code on a non-x86 build

git-svn-id: svn://localhost/ardour2/branches/3.0@6770 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-03-17 15:25:04 +00:00
parent 45ff98fcc3
commit da3f9e3e07

View File

@ -307,11 +307,10 @@ def build(bld):
obj.source += [ 'audio_unit.cc' ]
if bld.env['FPU_OPTIMIZATION']:
obj.source += [ 'sse_functions_xmm.cc' ]
if bld.env['build_target'] == 'i386' or bld.env['build_target'] == 'i686':
obj.source += [ 'sse_functions.s' ]
obj.source += [ 'sse_functions_xmm.cc', 'sse_functions.s' ]
elif bld.env['build_target'] == 'x86_64':
obj.source += [ 'sse_functions_64bit.s' ]
obj.source += [ 'sse_functions_xmm.cc', 'sse_functions_64bit.s' ]
# i18n
if bld.env['ENABLE_NLS']: