[packages/openjade] workaround segfault with new gcc
atler
atler at pld-linux.org
Fri May 8 00:09:41 CEST 2020
commit cc2118c7c05f95550f57147fd0e562c65723962b
Author: Jan Palus <atler at pld-linux.org>
Date: Fri May 8 00:08:47 2020 +0200
workaround segfault with new gcc
see https://bugzilla.redhat.com/show_bug.cgi?id=1306162
openjade.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/openjade.spec b/openjade.spec
index 5b05c49..286d249 100644
--- a/openjade.spec
+++ b/openjade.spec
@@ -77,6 +77,8 @@ Biblioteki statyczne OpenJade.
%build
%{__sed} -i -e 's at AM_GNU_GETTEXT.*@AM_GNU_GETTEXT([external])@' \
config/configure.in
+# fix segfault https://bugzilla.redhat.com/show_bug.cgi?id=1306162
+export CXXFLAGS="%{rpmcxxflags} -fno-tree-dse"
LDFLAGS=""; export LDFLAGS
ln -sf config/configure.in .
# smr_SWITCH and OJ_SIZE_T_IS_UINT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openjade.git/commitdiff/cc2118c7c05f95550f57147fd0e562c65723962b
More information about the pld-cvs-commit
mailing list