diff options
author | rillig <rillig@pkgsrc.org> | 2009-03-17 21:28:10 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2009-03-17 21:28:10 +0000 |
commit | 68148ee24297973b8b6ace8324f035892bbb46c0 (patch) | |
tree | c6f2ed09a4900b74fe03a8ebc7976051d7274318 /mk/compiler/gcc.mk | |
parent | 39783fa9b2711ce2a9a0b4500b1a171557786569 (diff) | |
download | pkgsrc-68148ee24297973b8b6ace8324f035892bbb46c0.tar.gz |
Documented the public variables of this file.
Diffstat (limited to 'mk/compiler/gcc.mk')
-rw-r--r-- | mk/compiler/gcc.mk | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index dc4be251d79..6052b0f35a3 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,7 +1,33 @@ -# $NetBSD: gcc.mk,v 1.95 2008/11/16 17:01:53 ahoka Exp $ +# $NetBSD: gcc.mk,v 1.96 2009/03/17 21:28:10 rillig Exp $ # # This is the compiler definition for the GNU Compiler Collection. # +# User-settable variables: +# +# USE_NATIVE_GCC +# When set to "yes", the native gcc is used, no matter which +# compiler version a package requires. +# +# Package-settable variables: +# +# GCC_REQD +# The minimum version of the GNU Compiler Collection that is +# required to build this package. Setting this variable doesn't +# change the compiler that is used for building packages. See +# ONLY_FOR_COMPILER for that purpose. This is a list of version +# numbers, of which the maximum version is the definitive one. +# +# System-defined variables: +# +# CC_VERSION +# A string of the form "gcc-4.3.2" +# +# CC_VERSION_STRING +# The same(?) as CC_VERSION. FIXME: What's the difference between +# the two? +# +# Keywords: gcc +# .if !defined(COMPILER_GCC_MK) COMPILER_GCC_MK= defined |