Module Name:    src
Committed By:   joerg
Date:           Fri May 20 22:13:22 UTC 2011

Modified Files:
        src/gnu/usr.bin/gcc4: Makefile.inc

Log Message:
Put the -std=gnu89 into CPPFLAGS to make sure it gets applied after the
-std=gnu99. Add a comment about this.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/gnu/usr.bin/gcc4/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/usr.bin/gcc4/Makefile.inc
diff -u src/gnu/usr.bin/gcc4/Makefile.inc:1.3 src/gnu/usr.bin/gcc4/Makefile.inc:1.4
--- src/gnu/usr.bin/gcc4/Makefile.inc:1.3	Fri May 20 21:35:02 2011
+++ src/gnu/usr.bin/gcc4/Makefile.inc	Fri May 20 22:13:22 2011
@@ -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

Reply via email to