commit:     c74db48acaf558d7f98f0e189e4aa6e50e640970
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 21:38:12 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 21:41:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74db48a

toolchain-glibc.eclass: drop PIE ewarn

The ewarn lacks '<gcc-6' guard. Let's drop ewarn completely.

Reported-by: Alexander Tsoy
Bug: https://bugs.gentoo.org/669410
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 eclass/toolchain-glibc.eclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index 13d99ee1d94..0d252cc0ff4 100644
--- a/eclass/toolchain-glibc.eclass
+++ b/eclass/toolchain-glibc.eclass
@@ -557,9 +557,6 @@ toolchain-glibc_pkg_pretend() {
                ewarn "hypervisor, which is probably not what you want."
        fi
 
-       use hardened && ! tc-enables-pie && \
-               ewarn "PIE hardening not applied, as your compiler doesn't 
default to PIE"
-
        # Make sure host system is up to date #394453
        if has_version '<sys-libs/glibc-2.13' && \
           [[ -n $(scanelf -qys__guard -F'#s%F' "${EROOT}"/lib*/l*-*.so) ]]

Reply via email to