diff options
author | joerg <joerg> | 2006-12-06 16:18:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-12-06 16:18:19 +0000 |
commit | 26977629ec528aee5eead4621dc85540268bbfe1 (patch) | |
tree | 8817751b4749b6efeac11e3de22de44b274c638e /mk/compiler | |
parent | adaa6314274dd90faae76cf7ecbbad6ab76ab5b4 (diff) | |
download | pkgsrc-26977629ec528aee5eead4621dc85540268bbfe1.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.mk | 4 |
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 |