diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2007-07-27 12:39:15 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2007-07-27 12:39:15 +0000 |
commit | c856c99d06a20a4a69eba4c044144384d87f3142 (patch) | |
tree | e1692f159bf2b98e5e5f77c8e0a9e254d45d86d1 /pfinet/Makefile | |
parent | 2c0da94705499301f48679eca29cab09c0e69734 (diff) |
2007-07-27 Thomas Schwinge <tschwinge@gnu.org>
[bug #17124 -- ``-fno-strict-aliasing for pfinet'']
* Makefile (CFLAGS): Add ``-fno-strict-aliasing''.
Diffstat (limited to 'pfinet/Makefile')
-rw-r--r-- | pfinet/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 \ |