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/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pfinet/Makefile') 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