summaryrefslogtreecommitdiff
path: root/configs/freebsd-dri
diff options
context:
space:
mode:
Diffstat (limited to 'configs/freebsd-dri')
-rw-r--r--configs/freebsd-dri4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/freebsd-dri b/configs/freebsd-dri
index 0f52b9149b..9d9215483d 100644
--- a/configs/freebsd-dri
+++ b/configs/freebsd-dri
@@ -22,6 +22,10 @@ CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) -Wmissing-prototypes -std=c99 -
CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) -Wall -ansi -pedantic $(ASM_FLAGS) $(X11_INCLUDES)
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+CXXFLAGS += -fno-strict-aliasing
+
ASM_SOURCES =
# Library/program dependencies