toolchain-glibc.eclass: drop PIE ewarn
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 24 Oct 2018 21:38:12 +0000 (22:38 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 24 Oct 2018 21:41:38 +0000 (22:41 +0100)
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@gentoo.org>
eclass/toolchain-glibc.eclass

index 13d99ee1d942627312c06841594503deb5ac8271..0d252cc0ff4b939845ee74c017ed93e4750a3bc8 100644 (file)
@@ -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) ]]