summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 10:05:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 10:05:46 +0000
commitb354f62953de23b3aa97a998825488c254d93a19 (patch)
tree0069812912b87dd878eda86d415a8ef700826224 /debian/rules
parentAdding debian version 2.13.6-2. (diff)
downloadicinga2-b354f62953de23b3aa97a998825488c254d93a19.tar.xz
icinga2-b354f62953de23b3aa97a998825488c254d93a19.zip
Adding debian version 2.13.6-2+deb12u1.debian/2.13.6-2+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 9309792..bbf3e00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,11 @@ include /usr/share/dpkg/architecture.mk
export CTEST_OUTPUT_ON_FAILURE=1
+# Fix segfault on startup: #1068473
+ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el))
+ export DEB_CXXFLAGS_MAINT_APPEND = -O1
+endif
+
ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc))
export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
endif