summaryrefslogtreecommitdiff
path: root/pfinet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/Makefile')
-rw-r--r--pfinet/Makefile6
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 \