sys-libs/glibc: add USE=static-pie to install rcrt1.o
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 14 Mar 2020 09:26:18 +0000 (09:26 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 14 Mar 2020 09:54:13 +0000 (09:54 +0000)
commita6aac4bf276a0338c18fccd41d48ad7952f0a731
tree16bc4ba93f5e014809cafe7cd4cb5372f0605dec
parentaa4cb09b96e813e1a9361890c22352bbda960ec6
sys-libs/glibc: add USE=static-pie to install rcrt1.o

To add support for gcc's -static-pie flag glibc needs
to provide a few runtile files like rcrt1.o. Let's install
those when requested.

Noticed when looked at static-pie failures in bug #712356.
The change should not fix test failures, but will provide
a way to easily sanity-check static-pie health with minimal
test.

Bug: https://bugs.gentoo.org/712356
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-libs/glibc/glibc-2.31-r1.ebuild
sys-libs/glibc/glibc-9999.ebuild
sys-libs/glibc/metadata.xml