summaryrefslogtreecommitdiffstats
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 bd33345ed70..17c7126e115 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
ASM_SOURCES =