diff options
author | jschauma <jschauma> | 2006-12-02 22:32:59 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2006-12-02 22:32:59 +0000 |
commit | c224f2013c6dd86f664309dac9b78b97cf953a2b (patch) | |
tree | 97923b6df098fa627f577ea81af4285038c9d84a /mk/compiler.mk | |
parent | 466b82ff731e2238dc1f95e4cda2b4689c2373a8 (diff) | |
download | pkgsrc-c224f2013c6dd86f664309dac9b78b97cf953a2b.tar.gz |
Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r-- | mk/compiler.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk index 158dc65ed13..9e08c8d6c7b 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.56 2006/11/16 02:42:13 markd Exp $ +# $NetBSD: compiler.mk,v 1.57 2006/12/02 22:32:59 jschauma Exp $ # # This Makefile fragment implements handling for supported C/C++/Fortran # compilers. @@ -49,8 +49,8 @@ # USE_LANGUAGES # Lists the languages used in the source code of the package, # and is used to determine the correct compilers to install. -# Valid values are: c, c++, fortran, java, objc. The default -# is "c". +# Valid values are: c, c99, c++, fortran, java, objc. The +# default is "c". # # The following variables are defined, and available for testing in # package Makefiles: |