From e1d4697bc4af580c8bbdb8256fdc90626e18a226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sun, 15 Mar 2020 12:44:26 +0000 Subject: Set -o nounset in addition to +o errexit -o nounset. groups/000.host_tools.group:libtool_host:${PKG_LIBTOOL}: build w/ `none'. subr/build_init.subr:buildp_init_getopts(): set ${DEFAULT_BUILD_CPUS} prior to ex_pkg_load_vars() call. subr/pkg_{build,install_make}.subr: only pass `LIBTOOL=${PKG_LIBTOOL}' if set and not `none'. vars/libtool_host.vars: removes obsolete vars file. --- vars/gcc.vars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vars/gcc.vars') diff --git a/vars/gcc.vars b/vars/gcc.vars index f2354ca1..eacb9910 100644 --- a/vars/gcc.vars +++ b/vars/gcc.vars @@ -1,5 +1,5 @@ # -# set +o errexit -o noglob is assumed. +# set +o errexit -o noglob -o nounset is assumed. # Order: stage1_host, runtime_host, libstdcpp_v3_host, full_host, full # Order: stage1_mingw32, native_mingw32 # @@ -219,7 +219,7 @@ pkg_gcc_full_all() { fi; pkgp_gcc_state_set "patch" -"configure"; fi; - pkgp_gcc_setup_env "${PKG_VERSION}"; + pkgp_gcc_setup_vars; pkgp_gcc_setup_env; if ! ex_pkg_state_test "${PKG_NAME}" configure "${_restart_at}"; then rtl_fileop mkdir "${PKG_PREFIX}/${PKG_TARGET}" || return 1; if [ \! -d "${PKG_PREFIX}/${PKG_TARGET}/usr" ]; then -- cgit v1.2.3