summaryrefslogtreecommitdiffstats
path: root/configs/linux-dri-xcb
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-dri-xcb')
-rw-r--r--configs/linux-dri-xcb3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/linux-dri-xcb b/configs/linux-dri-xcb
index 1f233f07f58..69643718adc 100644
--- a/configs/linux-dri-xcb
+++ b/configs/linux-dri-xcb
@@ -32,6 +32,9 @@ CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
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 =