From 7213bfc88c92a5962c6702fd5e9c39f1a5a5f6a3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 14 Jul 2021 23:46:43 +0300 Subject: [PATCH] kiss: export more variables. See #235 --- kiss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kiss b/kiss index 2e88c23..7841ad1 100755 --- a/kiss +++ b/kiss @@ -835,10 +835,15 @@ pkg_build() { # Give the script a modified environment. Define CC and CXX giving them # the generic values cc and c++. Define KISS_ROOT sanitized to ensure # safe path joining in build files. + AR="${AR:-ar}" \ CC="${CC:-cc}" \ CXX="${CXX:-c++}" \ + NM="${NM:-nm}" \ + RANLIB="${RANLIB:-ranlib}" \ DESTDIR="$pkg_dir/$1" \ + GOPATH="$PWD/go" \ KISS_ROOT="$KISS_ROOT" \ + PREFIX=/usr \ \ "$repo_dir/build" "$pkg_dir/$1" "$repo_ver" 2>&1 || { log "$1" "Build failed"