guix: use gcc tool wrappers

Based on Bitcoin PR #27345
This commit is contained in:
tobtoht 2023-06-30 19:27:18 +02:00
parent 22a7f925d3
commit 893d0c98be
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -216,9 +216,9 @@ make -C contrib/depends --jobs="$JOBS" HOST="$HOST" \
OUTDIR="$OUTDIR" \
x86_64_linux_CC=x86_64-linux-gnu-gcc \
x86_64_linux_CXX=x86_64-linux-gnu-g++ \
x86_64_linux_AR=x86_64-linux-gnu-ar \
x86_64_linux_RANLIB=x86_64-linux-gnu-ranlib \
x86_64_linux_NM=x86_64-linux-gnu-nm \
x86_64_linux_AR=x86_64-linux-gnu-gcc-ar \
x86_64_linux_RANLIB=x86_64-linux-gnu-gcc-ranlib \
x86_64_linux_NM=x86_64-linux-gnu-gcc-nm \
x86_64_linux_STRIP=x86_64-linux-gnu-strip \
qt_config_opts_x86_64_linux='-platform linux-g++ -xplatform linux-g++' \
guix_ldflags="$HOST_LDFLAGS"