summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/gl_SPARC_asm.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/gl_SPARC_asm.py')
-rw-r--r--src/mesa/glapi/gl_SPARC_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/gl_SPARC_asm.py b/src/mesa/glapi/gl_SPARC_asm.py
index 4fdb82df64..c4afc4e52a 100644
--- a/src/mesa/glapi/gl_SPARC_asm.py
+++ b/src/mesa/glapi/gl_SPARC_asm.py
@@ -48,7 +48,7 @@ class PrintGenericStubs(gl_XML.FilterGLAPISpecBase):
print ''
print '#define GLOBL_FN(x) .globl x ; .type x,#function'
print ''
- print '#if defined(__sparc_v9__) && !defined(__linux__)'
+ print '#if (defined(__sparc_v9__) && (!defined(__linux__) || defined(__linux_sparc_64__)))'
print '# define GL_STUB(fn,off)\t\t\t\t\\'
print 'GLOBL_FN(fn) ; fn:\t\t\t\t\t\\'
print '\tsethi\t%hi(0x00000000), %g4 ;\t\t\t\\'