build: fix for gcc 6.0.0
Per kdudka's comment: From https://bugzilla.redhat.com/show_bug.cgi?id=1306162#c5: GCC upstream explains why this is a bug in openjade's code: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9 As fixing the code would be non-trivial, using the -fno-lifetime-dse compilation flag sounds like a good enough solution to this bug. Resolves: rhbz#1306162 Version: 1.3.2-51
This commit is contained in:
parent
f54460eb60
commit
3e7c8f6fb5
@ -1,7 +1,7 @@
|
|||||||
Summary: A DSSSL implementation
|
Summary: A DSSSL implementation
|
||||||
Name: openjade
|
Name: openjade
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 50%{?dist}
|
Release: 51%{?dist}
|
||||||
Requires: sgml-common
|
Requires: sgml-common
|
||||||
URL: http://openjade.sourceforge.net/
|
URL: http://openjade.sourceforge.net/
|
||||||
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
|
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
|
||||||
@ -55,7 +55,7 @@ XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
|
|||||||
%build
|
%build
|
||||||
cp -p %{SOURCE2} %{SOURCE3} config/
|
cp -p %{SOURCE2} %{SOURCE3} config/
|
||||||
# more info: rhbz#1306162
|
# more info: rhbz#1306162
|
||||||
export CXXFLAGS="%optflags -fno-tree-dse"
|
export CXXFLAGS="%optflags -fno-lifetime-dse"
|
||||||
%configure --disable-static --datadir=%{_datadir}/sgml/%{name}-%{version} \
|
%configure --disable-static --datadir=%{_datadir}/sgml/%{name}-%{version} \
|
||||||
--enable-splibdir=%{_libdir}
|
--enable-splibdir=%{_libdir}
|
||||||
make
|
make
|
||||||
@ -109,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/sgml/%{name}-%{version}
|
%{_datadir}/sgml/%{name}-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 15 2016 Pavel Raiskup <praiskup@redhat.com> - 1.3.2-51
|
||||||
|
- using -fno-lifetime-dse instead of -ftree-dse (rhbz#1306162)
|
||||||
|
|
||||||
* Thu Feb 11 2016 Pavel Raiskup <praiskup@redhat.com> - 1.3.2-50
|
* Thu Feb 11 2016 Pavel Raiskup <praiskup@redhat.com> - 1.3.2-50
|
||||||
- temporarily disable -ftree-dse optimization (rhbz#1306162)
|
- temporarily disable -ftree-dse optimization (rhbz#1306162)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user