summaryrefslogtreecommitdiff
path: root/configs/linux-osmesa
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-osmesa')
-rw-r--r--configs/linux-osmesa3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/linux-osmesa b/configs/linux-osmesa
index cc1fbbd109..163b145291 100644
--- a/configs/linux-osmesa
+++ b/configs/linux-osmesa
@@ -12,6 +12,9 @@ CXX = g++
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
# Directories
SRC_DIRS = mesa glu