summaryrefslogtreecommitdiffstats
path: root/configs/aix-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/aix-gcc')
-rw-r--r--configs/aix-gcc4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/aix-gcc b/configs/aix-gcc
index 8146708..3b964f3 100644
--- a/configs/aix-gcc
+++ b/configs/aix-gcc
@@ -11,6 +11,10 @@ CXX = g++
CFLAGS = -O2 -DAIXV3
CXXFLAGS = -O2 -DAIXV3
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
+
MKLIB_OPTIONS = -arch aix-gcc
GL_LIB_DEPS = -lX11 -lXext -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm