summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-12-06 16:18:19 +0000
committerjoerg <joerg@pkgsrc.org>2006-12-06 16:18:19 +0000
commit2284bed722d99942282a5ee905a080c9966e9eed (patch)
tree8817751b4749b6efeac11e3de22de44b274c638e /mk
parentc7f47b3e9ba4dc0fca274faa8a9c5139dc77450e (diff)
downloadpkgsrc-2284bed722d99942282a5ee905a080c9966e9eed.tar.gz
Don't force strict C99 mode by default, but the relaxed GNU-C99 mode.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 465d181c455..bf250baff3d 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -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 @@ _LANGUAGES.gcc+= ${LANGUAGES.gcc:M${_lang_}}
.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