summaryrefslogtreecommitdiffstats
path: root/configs/sunos5-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/sunos5-gcc')
-rw-r--r--configs/sunos5-gcc4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/sunos5-gcc b/configs/sunos5-gcc
index 77b293c5452..c5e443fc75e 100644
--- a/configs/sunos5-gcc
+++ b/configs/sunos5-gcc
@@ -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