From 7885f1bc864ea981dbb2d1453e6be31e71a1a4d2 Mon Sep 17 00:00:00 2001 From: ferreo Date: Tue, 26 Nov 2024 13:55:02 +0100 Subject: [PATCH] Update debian/rules --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index ca9693b..777ddea 100755 --- a/debian/rules +++ b/debian/rules @@ -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