summaryrefslogtreecommitdiffstats
path: root/configs/darwin-static
diff options
context:
space:
mode:
Diffstat (limited to 'configs/darwin-static')
-rw-r--r--configs/darwin-static4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/darwin-static b/configs/darwin-static
index 3eb6581..9893d15 100644
--- a/configs/darwin-static
+++ b/configs/darwin-static
@@ -9,6 +9,10 @@ CFLAGS = -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpen
CXXFLAGS = -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
MKLIB_OPTIONS = -static
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
+
# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a