Update debian/rules
This commit is contained in:
parent
9e0b9b883c
commit
7885f1bc86
6
debian/rules
vendored
6
debian/rules
vendored
@ -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
|
# for finding the correct llvm-config when meson doesn't know about it yet
|
||||||
LLVM_VERSION = 19
|
LLVM_VERSION = 19
|
||||||
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
|
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
|
||||||
|
DEB_BUILD_MAINT_OPTIONS += optimize=-lto
|
||||||
DEB_CFLAGS_MAINT_APPEND := -Wall
|
DEB_CFLAGS_MAINT_APPEND += -Wall
|
||||||
DEB_CXXFLAGS_MAINT_APPEND := -Wall
|
DEB_CXXFLAGS_MAINT_APPEND += -Wall
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
|
ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
|
||||||
# Workaround for a variant of LP: #725126
|
# Workaround for a variant of LP: #725126
|
||||||
DEB_CFLAGS_MAINT_APPEND += -fno-optimize-sibling-calls
|
DEB_CFLAGS_MAINT_APPEND += -fno-optimize-sibling-calls
|
||||||
|
Loading…
Reference in New Issue
Block a user