projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into opengl-es-v2
[mesa.git]
/
configs
/
sunos5-gcc
diff --git
a/configs/sunos5-gcc
b/configs/sunos5-gcc
index 3fa13d0496f71c78b76d38f08b90e115a62710be..571ff24a2b17f9301d682cb77c744c9ab5932c0e 100644
(file)
--- 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