]> git.pld-linux.org Git - packages/openjade.git/commitdiff
workaround segfault with new gcc
authorJan Palus <atler@pld-linux.org>
Thu, 7 May 2020 22:08:47 +0000 (00:08 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 7 May 2020 22:08:47 +0000 (00:08 +0200)
see https://bugzilla.redhat.com/show_bug.cgi?id=1306162

openjade.spec

index 5b05c49029ed2e073dcdc382a26b256ab51249aa..286d2494ee5c289ae6b0ef21f848b1f94ee48ffd 100644 (file)
@@ -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
This page took 0.02954 seconds and 4 git commands to generate.