guix: build depends with LTO=1 and -flto

This commit is contained in:
fanquake 2022-06-14 22:04:18 +01:00
parent d5aa126cff
commit 6cedf8a907
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1
1 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,9 @@ make -C depends --jobs="$JOBS" HOST="$HOST" \
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 \
FORCE_USE_SYSTEM_CLANG=1
FORCE_USE_SYSTEM_CLANG=1 \
LTO=1 \
CFLAGS="-flto" CXXFLAGS="-flto" LDFLAGS="-flto"
###########################