summaryrefslogtreecommitdiff
path: root/mk/defaults
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-10-27 10:31:05 +0000
committerjperkin <jperkin@pkgsrc.org>2016-10-27 10:31:05 +0000
commitb0a6ec0b90687a42a03f796596ef58b6e0b1a84d (patch)
tree1b53197d23a75acfa40b64749be8e9cff790c16c /mk/defaults
parente6d1c9d7980f3f89c85fb57707b79a306a28651d (diff)
downloadpkgsrc-b0a6ec0b90687a42a03f796596ef58b6e0b1a84d.tar.gz
Add support for enabling cwrappers automatically. USE_CWRAPPERS now defaults
to "auto", which will enable cwrappers if the _OPSYS_SUPPORTS_CWRAPPERS platform variable is set to "yes". Switch over to cwrappers by default for Darwin, Linux, and SunOS (except when using the sunpro compiler).
Diffstat (limited to 'mk/defaults')
-rw-r--r--mk/defaults/mk.conf16
1 files changed, 10 insertions, 6 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index 49c9d58e32d..88fa89336ee 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.266 2016/09/18 22:17:55 agc Exp $
+# $NetBSD: mk.conf,v 1.267 2016/10/27 10:31:05 jperkin Exp $
#
# This file provides default values for variables that may be overridden
@@ -12,11 +12,15 @@
# NOTE TO PEOPLE EDITING THIS FILE - USE LEADING SPACES, NOT LEADING TABS.
# ************************************************************************
-USE_CWRAPPERS?= no
-# build packages using the newer pkgtools/cwrappers infrastructure.
-# WARNING: Experimental!
-# Possible: yes, no
-# Default: no
+USE_CWRAPPERS?= auto
+# Build packages using the newer pkgtools/cwrappers infrastructure, which can
+# significantly speed up builds and use fewer resources. Some compiler and
+# platform combinations are not currently handled by cwrappers, so currently
+# the default is "auto" which enables cwrappers automatically if the platform
+# _OPSYS_SUPPORTS_CWRAPPERS variable is set to "yes".
+#
+# Possible: yes, no, auto
+# Default: auto (automatic detection, see above)
#ALLOW_VULNERABLE_PACKAGES=
# allow the user to build packages which are known to be vulnerable to