summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-05-20 21:35:02 +0000
committerjoerg <joerg@NetBSD.org>2011-05-20 21:35:02 +0000
commit6068131adb63bfe1cc39e66e2b53bcebb3be5052 (patch)
tree4915f46191509df0270f9a79d745b374e00462d8 /gnu
parent484384152f437f7453fae4759ec8a9a576400470 (diff)
Force GNU89 mode for GCC itself to deal with the non-standard
"extern inline" mess.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc4/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc4/Makefile.inc b/gnu/usr.bin/gcc4/Makefile.inc
index 8926ecc6c85..9bb0dda95f0 100644
--- a/gnu/usr.bin/gcc4/Makefile.inc
+++ b/gnu/usr.bin/gcc4/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2006/05/13 01:18:37 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.3 2011/05/20 21:35:02 joerg Exp $
.include <bsd.own.mk>
@@ -58,3 +58,6 @@ CPPFLAGS+= -DENABLE_SHARED_LIBGCC
CPPFLAGS+= -DNO_SHARED_LIBGCC_MULTILIB
.endif
.endif
+
+# This depends on the "extern inline" mess, so downgrade to something safe.
+CFLAGS+= -std=gnu89