summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjoerg <joerg>2006-12-06 16:18:19 +0000
committerjoerg <joerg>2006-12-06 16:18:19 +0000
commitd78c2fffec7de03d5a3f9be6dcde42c2807a8e8c (patch)
tree8817751b4749b6efeac11e3de22de44b274c638e /mk/compiler
parent674e4d0211deb7b724a33901529d298788d84142 (diff)
downloadpkgsrc-d78c2fffec7de03d5a3f9be6dcde42c2807a8e8c.tar.gz
Don't force strict C99 mode by default, but the relaxed GNU-C99 mode.
Diffstat (limited to 'mk/compiler')
-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