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 Put the -std=gnu89 into CPPFLAGS to make su...
details: https://anonhg.NetBSD.org/src/rev/316d566fbe0a
branches: trunk
changeset: 765182:316d566fbe0a
user: joerg <joerg%NetBSD.org@localhost>
date: Fri May 20 22:13:22 2011 +0000
description:
Put the -std=gnu89 into CPPFLAGS to make sure it gets applied after the
-std=gnu99. Add a comment about this.
diffstat:
gnu/usr.bin/gcc4/Makefile.inc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 2ad49885c7c0 -r 316d566fbe0a gnu/usr.bin/gcc4/Makefile.inc
--- a/gnu/usr.bin/gcc4/Makefile.inc Fri May 20 21:56:46 2011 +0000
+++ b/gnu/usr.bin/gcc4/Makefile.inc Fri May 20 22:13:22 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2011/05/20 21:35:02 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.4 2011/05/20 22:13:22 joerg Exp $
.include <bsd.own.mk>
@@ -60,4 +60,5 @@
.endif
# This depends on the "extern inline" mess, so downgrade to something safe.
-CFLAGS+= -std=gnu89
+# CPPFLAGS is applied after CFLAGS, which gets the -std=gnu99
+CPPFLAGS+= -std=gnu89
Home |
Main Index |
Thread Index |
Old Index