sys-libs/glibc: use tc-enables-pie instead of gcc-specs-pie
authorMatthias Maier <tamiko@gentoo.org>
Fri, 16 Jun 2017 14:33:14 +0000 (09:33 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Fri, 16 Jun 2017 14:33:14 +0000 (09:33 -0500)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

sys-libs/glibc/glibc-2.17.ebuild
sys-libs/glibc/glibc-2.18-r1.ebuild
sys-libs/glibc/glibc-2.19-r1.ebuild
sys-libs/glibc/glibc-2.20-r2.ebuild
sys-libs/glibc/glibc-2.21-r2.ebuild

index 11f180adc572579aabb69d4a49e20061d7d516ab..a0d0cd113b83bf0d5eeaa4d8b84884a9dc1b2bb5 100644 (file)
@@ -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
 
index 71ed7aea497a9ba7d6b5b12d68bb3d3bd1f989c6..a9c0bfc2c2b764f9b0a1c03418c8adc04b5a5493 100644 (file)
@@ -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
 
index f86bb021c5040d3e73b7012deef0d9e9fc0cfe13..8860850c02240f0780ef3ee63043352575884984 100644 (file)
@@ -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
 
index d0956e2eb60d5e1fec7390c75dd7945d2d7b9a38..04363835f616e6840c9fcee50645d6aed6aef177 100644 (file)
@@ -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 --
index ec75650f0676485433d293e3214179a556a8fa89..9216657a97034991bcce3bb94b5e973803b449c3 100644 (file)
@@ -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 --