summaryrefslogtreecommitdiffstats
path: root/configs/linux-dri
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-dri')
-rw-r--r--configs/linux-dri5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/linux-dri b/configs/linux-dri
index 2369f75b07d..0133eac95de 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -32,6 +32,11 @@ CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
+GLUT_CFLAGS = -fexceptions
+
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
ASM_SOURCES =