summaryrefslogtreecommitdiffstats
path: root/configs/solaris-x86-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/solaris-x86-gcc')
-rw-r--r--configs/solaris-x86-gcc4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/solaris-x86-gcc b/configs/solaris-x86-gcc
index 5ec7237..616bfdf 100644
--- a/configs/solaris-x86-gcc
+++ b/configs/solaris-x86-gcc
@@ -11,6 +11,10 @@ CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
CXXFLAGS = -O3 -march=i486 -fPIC
GLUT_CFLAGS = -fexceptions
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
+
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm