openjade: fix for gcc6

The flag -fno-lifetime-dse is required or openjade built
with gcc6 crashes when e.g. trying to build postgresql.

Source http://www.linuxfromscratch.org/blfs/view/svn/pst/openjade.html
This commit is contained in:
Juergen Buchmueller 2016-09-11 20:45:44 +02:00
parent fae8aa7200
commit 0ebc1faa0d
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openjade'
pkgname=openjade
version=1.3.2
revision=8
revision=9
build_style=gnu-configure
configure_args="
--datadir=/usr/share/sgml/openjade
@ -20,6 +20,8 @@ license="MIT"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-$version.tar.gz"
checksum=1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
CXXFLAGS="-fno-lifetime-dse"
pre_configure() {
touch configure Makefile.in
libtoolize -f