summaryrefslogtreecommitdiff
path: root/configs/linux-indirect
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-indirect')
-rw-r--r--configs/linux-indirect3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/linux-indirect b/configs/linux-indirect
index 0c4805ea87..310ae6dde6 100644
--- a/configs/linux-indirect
+++ b/configs/linux-indirect
@@ -33,6 +33,9 @@ CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
MESA_ASM_SOURCES =