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@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2018-10-24 22:38:12 +01:00
parent 7b3d816ab5
commit c74db48aca

View 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) ]]