Debian packaging: fix variable exports in debian/rules

This ended up setting the variable to "true ", which cargo did not
understand.
This commit is contained in:
David Adam
2025-11-26 22:05:30 +08:00
parent 47c139b916
commit 63cc800cd1

View File

@@ -3,7 +3,8 @@
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
export DH_VERBOSE=1
export CARGO_TERM_VERBOSE=true # required by Debian policy 4.9, version 4.2.0
# VERBOSE to satisfy Debian policy 4.9, introduced in version 4.2.0
export CARGO_TERM_VERBOSE=true
endif
# The LTO profile sets CFLAGS/CXXFLAGS which confuse the compilation process; disable it
# LTO is still performed by rustc based on Cargo.toml