scons: Correct glapi USE_xxx_ASM flags.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 17 Jun 2011 18:23:06 +0000 (19:23 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 17 Jun 2011 19:13:16 +0000 (20:13 +0100)
src/mapi/glapi/SConscript

index 276b2160246cbbf561b4706965c3871ca462f1be..a7764745eda0b82f261540a7430774eb9580bdee 100644 (file)
@@ -52,29 +52,22 @@ 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'
             ]