source cargo env in build-script as well

master
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
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ export DEB_BUILD_HARDENING_FORMAT=1
export DEB_BUILD_HARDENING_PIE=1
# 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
# might make it easier to maintain changes in build scripts on both sides