1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: export more variables. See #235

This commit is contained in:
Dylan Araps 2021-07-14 23:46:43 +03:00
parent 679d145434
commit 7213bfc88c
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

5
kiss
View File

@ -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"