diff options
-rw-r--r-- | pfinet/ChangeLog | 5 | ||||
-rw-r--r-- | pfinet/Makefile | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog index 95e46fdf..a547b0aa 100644 --- a/pfinet/ChangeLog +++ b/pfinet/ChangeLog @@ -1,3 +1,8 @@ +2007-07-27 Thomas Schwinge <tschwinge@gnu.org> + + [bug #17124 -- ``-fno-strict-aliasing for pfinet''] + * Makefile (CFLAGS): Add ``-fno-strict-aliasing''. + 2006-07-31 Stefan Siegl <stesie@brokenpipe.de> * options.c (trivfs_append_args): Figure out the address of the default diff --git a/pfinet/Makefile b/pfinet/Makefile index b81d3073..75440d5b 100644 --- a/pfinet/Makefile +++ b/pfinet/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 1995,96,97,2000 Free Software Foundation, Inc. +# Copyright (C) 1995, 1996, 1997, 2000, 2007 Free Software Foundation, Inc. # # This file is part of the GNU Hurd. # @@ -95,6 +95,10 @@ CPPFLAGS += -imacros $(srcdir)/config.h \ -I$(srcdir)/glue-include \ -I$(srcdir)/linux-src/include +# Don't ask... We use Linux code. The problem was first noticed when +# compiling `pfinet' with GCC 4.2. +CFLAGS += -fno-strict-aliasing + asm/checksum.h: ../config.status mkdir -p $(@D) echo > $@.new \ |