radeon/r200/r300: attempt to move lock to common code
[mesa.git] / configs / linux-x86-glide
index f2f8aeea60ee854312c226367aa89a0973e452a8..941efc1e598a202d1ab8a4e5b708db290cb514f4 100644 (file)
@@ -14,6 +14,9 @@ CXXFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199
 
 GLUT_CFLAGS = -fexceptions
 
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
 
 ASM_SOURCES = $(X86_SOURCES)
 ASM_API = $(X86_API)