From c856c99d06a20a4a69eba4c044144384d87f3142 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 27 Jul 2007 12:39:15 +0000 Subject: 2007-07-27 Thomas Schwinge [bug #17124 -- ``-fno-strict-aliasing for pfinet''] * Makefile (CFLAGS): Add ``-fno-strict-aliasing''. --- pfinet/ChangeLog | 5 +++++ pfinet/Makefile | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'pfinet') 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 + + [bug #17124 -- ``-fno-strict-aliasing for pfinet''] + * Makefile (CFLAGS): Add ``-fno-strict-aliasing''. + 2006-07-31 Stefan Siegl * 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 \ -- cgit v1.2.3