commit: 3c17dc821398caea38e15db5e0ae8788b88f2f80
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 14:33:14 2017 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 14:33:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c17dc82
sys-libs/glibc: use tc-enables-pie instead of gcc-specs-pie
Package-Manager: Portage-2.3.6, Repoman-2.3.2
sys-libs/glibc/glibc-2.17.ebuild | 2 +-
sys-libs/glibc/glibc-2.18-r1.ebuild | 2 +-
sys-libs/glibc/glibc-2.19-r1.ebuild | 2 +-
sys-libs/glibc/glibc-2.20-r2.ebuild | 2 +-
sys-libs/glibc/glibc-2.21-r2.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sys-libs/glibc/glibc-2.17.ebuild b/sys-libs/glibc/glibc-2.17.ebuild
index 11f180adc57..a0d0cd113b8 100644
--- a/sys-libs/glibc/glibc-2.17.ebuild
+++ b/sys-libs/glibc/glibc-2.17.ebuild
@@ -111,7 +111,7 @@ src_unpack() {
if use hardened ; then
cd "${S}"
einfo "Patching to get working PIE binaries on PIE (hardened)
platforms"
- gcc-specs-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
+ tc-enables-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
epatch
"${FILESDIR}"/2.10/glibc-2.10-hardened-configure-picdefault.patch
epatch
"${FILESDIR}"/2.10/glibc-2.10-hardened-inittls-nosysenter.patch
diff --git a/sys-libs/glibc/glibc-2.18-r1.ebuild
b/sys-libs/glibc/glibc-2.18-r1.ebuild
index 71ed7aea497..a9c0bfc2c2b 100644
--- a/sys-libs/glibc/glibc-2.18-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.18-r1.ebuild
@@ -111,7 +111,7 @@ src_unpack() {
if use hardened ; then
cd "${S}"
einfo "Patching to get working PIE binaries on PIE (hardened)
platforms"
- gcc-specs-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
+ tc-enables-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
epatch
"${FILESDIR}"/2.10/glibc-2.10-hardened-configure-picdefault.patch
epatch
"${FILESDIR}"/2.18/glibc-2.18-hardened-inittls-nosysenter.patch
diff --git a/sys-libs/glibc/glibc-2.19-r1.ebuild
b/sys-libs/glibc/glibc-2.19-r1.ebuild
index f86bb021c50..8860850c022 100644
--- a/sys-libs/glibc/glibc-2.19-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.19-r1.ebuild
@@ -112,7 +112,7 @@ src_unpack() {
if use hardened ; then
einfo "Patching to get working PIE binaries on PIE (hardened)
platforms"
- gcc-specs-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
+ tc-enables-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
epatch
"${FILESDIR}"/2.19/glibc-2.19-hardened-configure-picdefault.patch
epatch
"${FILESDIR}"/2.18/glibc-2.18-hardened-inittls-nosysenter.patch
diff --git a/sys-libs/glibc/glibc-2.20-r2.ebuild
b/sys-libs/glibc/glibc-2.20-r2.ebuild
index d0956e2eb60..04363835f61 100644
--- a/sys-libs/glibc/glibc-2.20-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.20-r2.ebuild
@@ -116,7 +116,7 @@ src_prepare() {
if use hardened ; then
einfo "Patching to get working PIE binaries on PIE (hardened)
platforms"
- gcc-specs-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
+ tc-enables-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
epatch
"${FILESDIR}"/2.20/glibc-2.20-hardened-inittls-nosysenter.patch
# We don't enable these for non-hardened as the output is very
terse --
diff --git a/sys-libs/glibc/glibc-2.21-r2.ebuild
b/sys-libs/glibc/glibc-2.21-r2.ebuild
index ec75650f067..9216657a970 100644
--- a/sys-libs/glibc/glibc-2.21-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.21-r2.ebuild
@@ -116,7 +116,7 @@ src_prepare() {
if use hardened ; then
einfo "Patching to get working PIE binaries on PIE (hardened)
platforms"
- gcc-specs-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
+ tc-enables-pie && epatch
"${FILESDIR}"/2.17/glibc-2.17-hardened-pie.patch
epatch
"${FILESDIR}"/2.20/glibc-2.20-hardened-inittls-nosysenter.patch
# We don't enable these for non-hardened as the output is very
terse --