Skip to content

Commit

Permalink
toolchain-glibc.eclass: drop PIE ewarn
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sergei Trofimovich committed Oct 24, 2018
1 parent 7b3d816 commit c74db48
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eclass/toolchain-glibc.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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) ]]
Expand Down

0 comments on commit c74db48

Please sign in to comment.