diff options
Diffstat (limited to 'configs/sunos5-gcc')
-rw-r--r-- | configs/sunos5-gcc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/sunos5-gcc b/configs/sunos5-gcc index 3fa13d0496f..571ff24a2b1 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 |