eclass/toolchain-glibc.eclass: skip pie check for gcc-6 or newer
authorMatthias Maier <tamiko@gentoo.org>
Wed, 14 Jun 2017 15:22:54 +0000 (10:22 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Fri, 16 Jun 2017 08:23:35 +0000 (03:23 -0500)
commitacaffff075a2be413e9dbca54cc682f2bb265bc8
tree29a7a6ac45a886b863a8b5fb3561425937defdf4
parentd33b49b8ca2afafbb1e6827dea8cd851f6658f99
eclass/toolchain-glibc.eclass: skip pie check for gcc-6 or newer

For gcc-6 and newer the old logic in the toolchain-glibc eclass:

  if use hardened && gcc-specs-pie ; then
    append-cppflags -DPIC
  else
    filter-flags -fPIE
  fi

is obsolete. Simply disable the check.
eclass/toolchain-glibc.eclass