Update debian/rules

This commit is contained in:
ferreo 2024-11-26 13:55:02 +01:00
parent 9e0b9b883c
commit 7885f1bc86

6
debian/rules vendored
View File

@ -15,9 +15,9 @@ DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
# for finding the correct llvm-config when meson doesn't know about it yet
LLVM_VERSION = 19
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
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