gallium: replace // comments with /* */
[mesa.git] / configs / linux-x86-glide
index b963fbdc66b06310493f9a9c86c10fd3ae943d74..603b2bf758b91fa9b405f8f05edffb76cac5f75d 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
 
 MESA_ASM_SOURCES = $(X86_SOURCES)
 GLAPI_ASM_SOURCES = $(X86_API)