diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
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 |