From: Jan Palus Date: Thu, 7 May 2020 22:08:47 +0000 (+0200) Subject: workaround segfault with new gcc X-Git-Tag: auto/th/openjade-1.3.3-0.pre1.13~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=cc2118c7c05f95550f57147fd0e562c65723962b;p=packages%2Fopenjade.git workaround segfault with new gcc see https://bugzilla.redhat.com/show_bug.cgi?id=1306162 --- 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@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