source cargo env in build-script as well

This commit is contained in:
ohfp 2021-02-01 16:48:26 +01:00
parent 6cc0c98846
commit 5d88f397b1
No known key found for this signature in database
GPG key ID: 2954CC8585E27A3F

View file

@ -16,6 +16,8 @@ export DEB_BUILD_HARDENING_FORMAT=1
export DEB_BUILD_HARDENING_PIE=1 export DEB_BUILD_HARDENING_PIE=1
# export PATH=/usr/lib/nasm-mozilla/bin:$PATH # export PATH=/usr/lib/nasm-mozilla/bin:$PATH
source /root/.cargo/env
# we do change / unset some of them later, but setting them as set by Arch # we do change / unset some of them later, but setting them as set by Arch
# might make it easier to maintain changes in build scripts on both sides # might make it easier to maintain changes in build scripts on both sides