summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2009-03-17 21:28:10 +0000
committerrillig <rillig>2009-03-17 21:28:10 +0000
commit08e6543dd9866e8cc3a7cd37f6caf6cfb730ed42 (patch)
treec6f2ed09a4900b74fe03a8ebc7976051d7274318 /mk
parent208df88111a98b3f4de6068358bd48cc2fdaf175 (diff)
downloadpkgsrc-08e6543dd9866e8cc3a7cd37f6caf6cfb730ed42.tar.gz
Documented the public variables of this file.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk28
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