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