summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2003-02-04 19:28:52 +0000
committerMichel Daenzer <michel@daenzer.net>2003-02-04 19:28:52 +0000
commitb88cc5da26cf1478e425a6398456b52e27f53626 (patch)
treebdc1d6d9ca0014102053e70752272a2ee79ab799
parent73bf29a6c14d12f86fbce48f6f6bace0de6732a6 (diff)
disable strict aliasing for building the DRM
-rw-r--r--linux/Makefile.linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/Makefile.linux b/linux/Makefile.linux
index 4505e6c1..633d96c4 100644
--- a/linux/Makefile.linux
+++ b/linux/Makefile.linux
@@ -66,7 +66,7 @@ WARNINGS = -Wall -Wwrite-strings -Wpointer-arith -Wcast-align \
-Wstrict-prototypes -Wnested-externs \
-Wpointer-arith
# -Wshadow -Winline -- make output too noisy
-MODCFLAGS = $(CFLAGS) -D__KERNEL__ -DMODULE -fomit-frame-pointer
+MODCFLAGS = $(CFLAGS) -D__KERNEL__ -DMODULE -fomit-frame-pointer -fno-strict-aliasing
PRGCFLAGS = $(CFLAGS) -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \
-I../../../../../../include -I../../../../../../../../include \