From 54b1861950566a79b72f9291e539dc5168d4f582 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:16:11 +0200 Subject: Merging debian version 2.4.1-3. Signed-off-by: Daniel Baumann --- debian/rules | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 6e2b45e..ec21498 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,13 @@ include /usr/share/dpkg/pkg-info.mk # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Disable LTO on ppc64el as it causes crashes (LP: #2055151). +# This has been spotted in Ubuntu, where LTO is enabled by +# default, but it likely that Debian would be affected too. +ifeq ($(DEB_HOST_ARCH),ppc64el) +export DEB_BUILD_MAINT_OPTIONS += optimize=-lto +endif + %: dh $@ --with python3 -X.la @@ -22,6 +29,7 @@ override_dh_auto_configure: --with-pgsql \ --with-boost-libs=-lboost_system \ --enable-generate-docs \ + --enable-generate-messages \ --enable-shell \ --disable-static \ --disable-rpath \ -- cgit v1.2.3