gambit: don't leak hardening flags.

This commit is contained in:
Leah Neukirchen 2017-07-31 16:33:10 +02:00
parent f946a2441d
commit 2fb04b1a5a

View file

@ -1,7 +1,7 @@
# Template file for 'gambit'
pkgname=gambit
version=4.8.8
revision=1
revision=2
build_style=gnu-configure
configure_args="
--libdir=/usr/lib/gambit --docdir=/usr/share/doc/gambit
@ -24,4 +24,5 @@ post_install() {
for f in ${DESTDIR}/usr/lib/gambit/lib*.so.*; do
ln -sfr $f ${DESTDIR}/usr/lib
done
sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/gambcomp-C
}