pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Don't force strict C99 mode by default, bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4acc1d3650d
branches:  trunk
changeset: 522266:a4acc1d3650d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 06 16:18:19 2006 +0000

description:
Don't force strict C99 mode by default, but the relaxed GNU-C99 mode.

diffstat:

 mk/compiler/gcc.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 54a00c8f6b5c -r a4acc1d3650d mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Wed Dec 06 16:17:17 2006 +0000
+++ b/mk/compiler/gcc.mk        Wed Dec 06 16:18:19 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.86 2006/12/02 22:32:59 jschauma Exp $
+# $NetBSD: gcc.mk,v 1.87 2006/12/06 16:18:19 joerg Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -138,7 +138,7 @@
 .endfor
 
 .if !empty(USE_LANGUAGES:Mc99)
-_WRAP_EXTRA_ARGS.CC+=  -std=c99
+_WRAP_EXTRA_ARGS.CC+=  -std=gnu99
 .endif
 
 # GCC has this annoying behaviour where it advocates in a multi-line



Home | Main Index | Thread Index | Old Index