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:
parent
45ff98fcc3
commit
da3f9e3e07
@ -307,11 +307,10 @@ def build(bld):
|
|||||||
obj.source += [ 'audio_unit.cc' ]
|
obj.source += [ 'audio_unit.cc' ]
|
||||||
|
|
||||||
if bld.env['FPU_OPTIMIZATION']:
|
if bld.env['FPU_OPTIMIZATION']:
|
||||||
obj.source += [ 'sse_functions_xmm.cc' ]
|
|
||||||
if bld.env['build_target'] == 'i386' or bld.env['build_target'] == 'i686':
|
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':
|
elif bld.env['build_target'] == 'x86_64':
|
||||||
obj.source += [ 'sse_functions_64bit.s' ]
|
obj.source += [ 'sse_functions_xmm.cc', 'sse_functions_64bit.s' ]
|
||||||
|
|
||||||
# i18n
|
# i18n
|
||||||
if bld.env['ENABLE_NLS']:
|
if bld.env['ENABLE_NLS']:
|
||||||
|
Loading…
Reference in New Issue
Block a user