perl: remove -specs hardened-cc1

This commit is contained in:
Farhad Shahbazi 2015-12-26 19:09:03 +01:00
parent 1ff83e86d0
commit 3d7417f6bd
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'perl'.
pkgname=perl
version=5.22.1
revision=1
revision=2
hostmakedepends="less"
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
depends="less"
@ -262,3 +262,8 @@ do_install() {
${DESTDIR}/usr/lib/libperl.so.${version%.*}
ln -s libperl.so.${version%.*} ${DESTDIR}/usr/lib/libperl.so
}
post_install() {
# remove -specs hardened-cc1
sed -i 's/-specs=.*hardened-cc1//g' ${DESTDIR}/usr/lib/perl5/core_perl/Config_heavy.pl
}