dev-libs/dietlibc: use tc-enables-pie instead of gcc-specs-pie

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Matthias Maier 2017-06-16 17:24:24 -05:00
parent b07e573f40
commit 50369f6275
No known key found for this signature in database
GPG Key ID: B84ECD894AEE79FF
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="3"
@ -41,7 +41,7 @@ pkg_setup() {
-Wno-unused -Wredundant-decls -fno-strict-aliasing
# only use -nopie on archs that support it
gcc-specs-pie && append-flags -nopie
tc-enables-pie && append-flags -nopie
}
src_compile() {

View File

@ -36,7 +36,7 @@ src_prepare() {
append-flags $(test-flags -fno-stack-protector)
# only use -nopie on archs that support it
gcc-specs-pie && append-flags -nopie
tc-enables-pie && append-flags -nopie
sed -i -e 's:strip::' Makefile || die
append-flags -Wa,--noexecstack