diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-02-04 14:11:50 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-02-04 14:11:50 +0000 |
commit | 35b9a35f3abfb4120deed7f05f0e46aea95090bf (patch) | |
tree | 80cbe90721ccd52948f68b84d7e0d6cf572bddf9 /mk | |
parent | 0a0bb8b6371fd2bab2882c430f9d8859b9189e5a (diff) | |
download | pkgsrc-35b9a35f3abfb4120deed7f05f0e46aea95090bf.tar.gz |
Ensure additional C99 flags are passed via cwrappers too.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/gcc.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index 1672f0e7693..a03084b2e76 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.154 2015/01/01 01:33:05 ryoon Exp $ +# $NetBSD: gcc.mk,v 1.155 2015/02/04 14:11:50 jperkin Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -323,6 +323,7 @@ _LANGUAGES.gcc+= ${LANGUAGES.gcc:M${_lang_}} .if !empty(USE_LANGUAGES:Mc99) _WRAP_EXTRA_ARGS.CC+= -std=gnu99 +CWRAPPERS_APPEND.cc+= -std=gnu99 .endif # GCC has this annoying behaviour where it advocates in a multi-line |