mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
scons: Correct glapi USE_xxx_ASM flags.
This commit is contained in:
parent
c7bd0fa485
commit
d6a0fe19e8
1 changed files with 5 additions and 12 deletions
|
|
@ -52,29 +52,22 @@ if env['platform'] != 'winddk':
|
||||||
if env['gcc'] and env['platform'] != 'windows':
|
if env['gcc'] and env['platform'] != 'windows':
|
||||||
if env['machine'] == 'x86':
|
if env['machine'] == 'x86':
|
||||||
env.Append(CPPDEFINES = [
|
env.Append(CPPDEFINES = [
|
||||||
'USE_X86_ASM',
|
'USE_X86_ASM',
|
||||||
'USE_MMX_ASM',
|
|
||||||
'USE_3DNOW_ASM',
|
|
||||||
'USE_SSE_ASM',
|
|
||||||
])
|
])
|
||||||
glapi_sources += [
|
glapi_sources += [
|
||||||
'glapi_x86.S',
|
'glapi_x86.S',
|
||||||
]
|
]
|
||||||
elif env['machine'] == 'x86_64':
|
elif env['machine'] == 'x86_64':
|
||||||
env.Append(CPPDEFINES = [
|
env.Append(CPPDEFINES = [
|
||||||
'USE_X86_64_ASM',
|
'USE_X86_64_ASM',
|
||||||
])
|
])
|
||||||
glapi_sources += [
|
glapi_sources += [
|
||||||
'glapi_x86-64.S'
|
'glapi_x86-64.S'
|
||||||
]
|
]
|
||||||
elif env['machine'] == 'ppc':
|
|
||||||
env.Append(CPPDEFINES = [
|
|
||||||
'USE_PPC_ASM',
|
|
||||||
'USE_VMX_ASM',
|
|
||||||
])
|
|
||||||
glapi_sources += [
|
|
||||||
]
|
|
||||||
elif env['machine'] == 'sparc':
|
elif env['machine'] == 'sparc':
|
||||||
|
env.Append(CPPDEFINES = [
|
||||||
|
'USE_SPARC_ASM',
|
||||||
|
])
|
||||||
glapi_sources += [
|
glapi_sources += [
|
||||||
'glapi_sparc.S'
|
'glapi_sparc.S'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue