summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-02-03 13:48:23 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:32 +0200
commit385e37243a30fe5367e4dbd526301d514dd3c68c (patch)
treed1a0ed9c86631b6adc8fe62e4fed7e05e84ea7a1
parent7eb6faf005a5718c40b342cdf8081e184a208d5a (diff)
2006-02-03 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in: Add -fno-strict-aliasing to CFLAGS. * i386/linux/Makefile.in: Likewise for linux-gen-flags.
-rw-r--r--ChangeLog5
-rw-r--r--Makerules.in3
-rw-r--r--i386/linux/Makefile.in2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 234acff..fe3a026 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-03 Thomas Schwinge <tschwinge@gnu.org>
+
+ * Makerules.in: Add -fno-strict-aliasing to CFLAGS.
+ * i386/linux/Makefile.in: Likewise for linux-gen-flags.
+
2006-02-02 Sergio Lopez <koro@sinrega.org>
* linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a
diff --git a/Makerules.in b/Makerules.in
index 6973a48..864bdf3 100644
--- a/Makerules.in
+++ b/Makerules.in
@@ -68,6 +68,9 @@ MIGFLAGS += $(CPPFLAGS)
CFLAGS += $(CFLAGS-common)
+# See <URL:http://lists.gnu.org/archive/html/bug-hurd/2006-01/msg00148.html>.
+CFLAGS += -fno-strict-aliasing
+
LDFLAGS += $(LDFLAGS-common)
# Assemble .S files correctly
diff --git a/i386/linux/Makefile.in b/i386/linux/Makefile.in
index a13a1bb..d998b75 100644
--- a/i386/linux/Makefile.in
+++ b/i386/linux/Makefile.in
@@ -140,7 +140,7 @@ CPPFLAGS = -Wall
# Arrange for special include directories too.
# Because of the use of `extern inline' in some Linux header files without
# corresponding text-segment definitions, we must always optimize.
-linux-gen-flags = -D__KERNEL__ -O2 \
+linux-gen-flags = -D__KERNEL__ -O2 -fno-strict-aliasing \
-Idev/include -I$(srcdir)/dev/include \
-I$(linuxdir)/dev/include -I$(linuxdir)/src/include \
-I$(linuxsrcdir)/dev/include -I$(linuxsrcdir)/src/include