Update debian/rules

This commit is contained in:
ferreo 2024-11-26 13:23:33 +01:00
parent b7a5177a71
commit 4356249573

5
debian/rules vendored
View File

@ -18,11 +18,6 @@ RUST_VERSION = 1.80
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
export PATH:=/usr/lib/rust-$(RUST_VERSION)/bin/:$(PATH)
ifneq (,$(filter $(DEB_HOST_ARCH), amd64))
export DEB_BUILD_MAINT_OPTIONS=optimize=+lto
else
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
endif
export MESON_PACKAGE_CACHE_DIR=/usr/share/cargo/registry/
DEB_CFLAGS_MAINT_APPEND := -Wall