summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-03-14 09:26:18 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-03-14 09:54:13 +0000
commita6aac4bf276a0338c18fccd41d48ad7952f0a731 (patch)
tree16bc4ba93f5e014809cafe7cd4cb5372f0605dec /sys-libs/glibc/metadata.xml
parentdev-ruby/capybara: add ruby27 (diff)
downloadgentoo-a6aac4bf276a0338c18fccd41d48ad7952f0a731.tar.gz
gentoo-a6aac4bf276a0338c18fccd41d48ad7952f0a731.tar.bz2
gentoo-a6aac4bf276a0338c18fccd41d48ad7952f0a731.zip
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>
Diffstat (limited to 'sys-libs/glibc/metadata.xml')
-rw-r--r--sys-libs/glibc/metadata.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-libs/glibc/metadata.xml b/sys-libs/glibc/metadata.xml
index b00c5f56e586..6630fde73e7f 100644
--- a/sys-libs/glibc/metadata.xml
+++ b/sys-libs/glibc/metadata.xml
@@ -15,6 +15,7 @@
<flag name="nscd">Build, and enable support for, the Name Service Cache Daemon</flag>
<flag name="rpc">Enable obsolete RPC/NIS layers</flag>
<flag name="ssp">protect stack of glibc internals</flag>
+ <flag name="static-pie">Enable static PIE support (runtime files for -static-pie gcc option).</flag>
<flag name="suid">Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5</flag>
<flag name="systemtap">enable systemtap static probe points</flag>
</use>