Update debian/rules

This commit is contained in:
ferreo 2024-11-26 13:55:34 +01:00
parent c3314e189b
commit e038c9c915

5
debian/rules vendored
View File

@ -20,8 +20,9 @@ export PATH:=/usr/lib/rust-$(RUST_VERSION)/bin/:$(PATH)
export MESON_PACKAGE_CACHE_DIR=/usr/share/cargo/registry/
DEB_CFLAGS_MAINT_APPEND := -Wall
DEB_CXXFLAGS_MAINT_APPEND := -Wall
DEB_BUILD_MAINT_OPTIONS += optimize=-lto
DEB_CFLAGS_MAINT_APPEND += -Wall
DEB_CXXFLAGS_MAINT_APPEND += -Wall
ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
# Workaround for a variant of LP: #725126
DEB_CFLAGS_MAINT_APPEND += -fno-optimize-sibling-calls