python3.4: remove references to -specs.
This commit is contained in:
parent
c4d829ce5e
commit
2a350d3ef8
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python3.4'
|
||||
pkgname=python3.4
|
||||
version=3.4.3
|
||||
revision=4
|
||||
revision=5
|
||||
wrksrc="Python-${version}"
|
||||
short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -62,7 +62,9 @@ do_install() {
|
|||
# Remove test module and tests that fail to be byte-compiled.
|
||||
rm -rf ${DESTDIR}/usr/lib/python${version%.*}/test
|
||||
rm -rf ${DESTDIR}/usr/lib/python${version%.*}/lib2to3/tests
|
||||
|
||||
# Remove references to hardening -specs.
|
||||
sed -e 's|\(-specs=.*hardened-ld\)||g' -e 's|\(-specs=.*hardened-cc1\)||g' \
|
||||
-i ${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata.py
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Remove references to cross toolchain.
|
||||
sed -i "s/$XBPS_CROSS_TRIPLET-//g" \
|
||||
|
|
Loading…
Reference in a new issue