summaryrefslogtreecommitdiffstats
path: root/configs/linux-osmesa16-static
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-osmesa16-static')
-rw-r--r--configs/linux-osmesa16-static3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/linux-osmesa16-static b/configs/linux-osmesa16-static
index 6645504478e..22f6851d325 100644
--- a/configs/linux-osmesa16-static
+++ b/configs/linux-osmesa16-static
@@ -11,6 +11,9 @@ CFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=19930
CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
MKLIB_OPTIONS = -static
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
# Library names
OSMESA_LIB = OSMesa16