summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-06-17 19:23:06 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-06-17 20:13:16 +0100
commitd6a0fe19e8da0cb12d73977e4e3ece596a26320f (patch)
tree1dd73281869d334b0a822dc3076973ec9c9910e4 /src/mapi/glapi/SConscript
parentc7bd0fa4851187c3102948f5f4d70c26d1b55a5e (diff)
scons: Correct glapi USE_xxx_ASM flags.
Diffstat (limited to 'src/mapi/glapi/SConscript')
-rw-r--r--src/mapi/glapi/SConscript15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/mapi/glapi/SConscript b/src/mapi/glapi/SConscript
index 276b216024..a7764745ed 100644
--- a/src/mapi/glapi/SConscript
+++ b/src/mapi/glapi/SConscript
@@ -52,30 +52,23 @@ if env['platform'] != 'winddk':
if env['gcc'] and env['platform'] != 'windows':
if env['machine'] == 'x86':
env.Append(CPPDEFINES = [
- 'USE_X86_ASM',
- 'USE_MMX_ASM',
- 'USE_3DNOW_ASM',
- 'USE_SSE_ASM',
+ 'USE_X86_ASM',
])
glapi_sources += [
'glapi_x86.S',
]
elif env['machine'] == 'x86_64':
env.Append(CPPDEFINES = [
- 'USE_X86_64_ASM',
+ 'USE_X86_64_ASM',
])
glapi_sources += [
'glapi_x86-64.S'
]
- elif env['machine'] == 'ppc':
+ elif env['machine'] == 'sparc':
env.Append(CPPDEFINES = [
- 'USE_PPC_ASM',
- 'USE_VMX_ASM',
+ 'USE_SPARC_ASM',
])
glapi_sources += [
- ]
- elif env['machine'] == 'sparc':
- glapi_sources += [
'glapi_sparc.S'
]
else: