Mesa (mesa_7_7_branch): x86: Do not build read_rgba_span_x86.S on Mac OS X.

Vinson Lee vlee at kemper.freedesktop.org
Sun Jan 24 07:20:26 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: e02dc139520fab9f7189e0ae390f72ed674bb7d7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e02dc139520fab9f7189e0ae390f72ed674bb7d7

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Jan 23 23:18:33 2010 -0800

x86: Do not build read_rgba_span_x86.S on Mac OS X.

read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are
not recognized on Mac OS X.

---

 src/mesa/x86/read_rgba_span_x86.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/x86/read_rgba_span_x86.S b/src/mesa/x86/read_rgba_span_x86.S
index 92b1c2d..3886a51 100644
--- a/src/mesa/x86/read_rgba_span_x86.S
+++ b/src/mesa/x86/read_rgba_span_x86.S
@@ -31,7 +31,7 @@
  */
 
 	.file	"read_rgba_span_x86.S"
-#if !defined(__DJGPP__) && !defined(__MINGW32__) /* this one cries for assyntax.h */
+#if !defined(__DJGPP__) && !defined(__MINGW32__) && !defined(__APPLE__) /* this one cries for assyntax.h */
 /* Kevin F. Quinn 2nd July 2006
  * Replaced data segment constants with text-segment instructions.
  */
@@ -671,7 +671,7 @@ _generic_read_RGBA_span_RGB565_MMX:
 	emms
 #endif
 	ret
-#endif /* !defined(__DJGPP__) && !defined(__MINGW32__) */
+#endif /* !defined(__DJGPP__) && !defined(__MINGW32__) && !defined(__APPLE__) */
 	
 #if defined (__ELF__) && defined (__linux__)
 	.section .note.GNU-stack,"",%progbits




More information about the mesa-commit mailing list