Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/gcc4 Force GNU89 mode for GCC itself to deal wit...



details:   https://anonhg.NetBSD.org/src/rev/c4022c4c9ffa
branches:  trunk
changeset: 765177:c4022c4c9ffa
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 20 21:35:02 2011 +0000

description:
Force GNU89 mode for GCC itself to deal with the non-standard
"extern inline" mess.

diffstat:

 gnu/usr.bin/gcc4/Makefile.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 3755d67e5c12 -r c4022c4c9ffa gnu/usr.bin/gcc4/Makefile.inc
--- a/gnu/usr.bin/gcc4/Makefile.inc     Fri May 20 20:09:37 2011 +0000
+++ b/gnu/usr.bin/gcc4/Makefile.inc     Fri May 20 21:35:02 2011 +0000
@@ -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+=     -DNO_SHARED_LIBGCC_MULTILIB
 .endif
 .endif
+
+# This depends on the "extern inline" mess, so downgrade to something safe.
+CFLAGS+=       -std=gnu89



Home | Main Index | Thread Index | Old Index