kiss: export RUSTFLAGS and GOFLAGS in builds. Closes #271

This commit is contained in:
Dylan Araps 2021-09-11 09:47:39 +03:00
parent a4f7765f94
commit 12646e4009
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 0 deletions

2
kiss
View File

@ -994,6 +994,8 @@ pkg_build() {
NM="${NM:-nm}" \
RANLIB="${RANLIB:-ranlib}" \
DESTDIR="$pkg_dir/$1" \
RUSTFLAGS="--remap-path-prefix=$PWD=. $RUSTFLAGS" \
GOFLAGS="-trimpath -modcacherw $GOFLAGS" \
GOPATH="$PWD/go" \
KISS_ROOT="$KISS_ROOT" \
\