From a6970c75f85a294ba1056fa9ec329dfb272ac3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Wed, 29 Apr 2020 19:08:22 +0100 Subject: Designate {debug,release} build as build kind. etc/{{build,pkgtool}.usage,README.md}: updated. --- subr/build_init.subr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subr/build_init.subr') diff --git a/subr/build_init.subr b/subr/build_init.subr index af9a0a8e..35551668 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -144,7 +144,7 @@ buildp_init_files() { buildp_init_getopts() { local _arg="" _opt="" _rc=0 _shiftfl=0 OPTIND=0; _status=""; - : ${ARCH:="nt64"}; : ${BUILD:="debug"}; + : ${ARCH:="nt64"}; : ${BUILD_KIND:="debug"}; ARG_AS_NEEDED=0; ARG_CLEAN_BUILDS=""; ARG_DEBUG_MINIPIX=0; ARG_DIST=""; ARG_DUMP_IN=""; ARG_DUMP_ON_ABORT=0; ARG_FETCH_FORCE=0; ARG_PARALLEL=1; ARG_RELAXED=0; ARG_RESTART=""; ARG_RESTART_AT=""; ARG_RESTART_RECURSIVE=""; ARG_VERBOSE=0; @@ -171,7 +171,7 @@ buildp_init_getopts() { elif getopts a:b:C:D:Fhp:Pr:R _opt; then case "${_opt}" in a) ARCH="${OPTARG}"; ;; - b) BUILD="${OPTARG}"; ;; + b) BUILD_KIND="${OPTARG}"; ;; C) ARG_CLEAN_BUILDS="${OPTARG}"; ;; D) ARG_DIST="${OPTARG}"; ;; F) ARG_FETCH_FORCE=1; ;; -- cgit v1.2.3