perl: remove -specs hardened-cc1
This commit is contained in:
parent
1ff83e86d0
commit
3d7417f6bd
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'perl'.
|
# Template build file for 'perl'.
|
||||||
pkgname=perl
|
pkgname=perl
|
||||||
version=5.22.1
|
version=5.22.1
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="less"
|
hostmakedepends="less"
|
||||||
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
|
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
|
||||||
depends="less"
|
depends="less"
|
||||||
|
@ -262,3 +262,8 @@ do_install() {
|
||||||
${DESTDIR}/usr/lib/libperl.so.${version%.*}
|
${DESTDIR}/usr/lib/libperl.so.${version%.*}
|
||||||
ln -s libperl.so.${version%.*} ${DESTDIR}/usr/lib/libperl.so
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue