mesa: check that flex/bison are installed
[mesa.git] / configs / sunos5-gcc
index 3fa13d0496f71c78b76d38f08b90e115a62710be..571ff24a2b17f9301d682cb77c744c9ab5932c0e 100644 (file)
@@ -28,6 +28,10 @@ CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
 
 GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
 
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
+
 # Library/program dependencies
 EXTRA_LIB_PATH=-L/usr/openwin/lib