diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-27 05:08:32 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-27 05:08:32 +0000 |
commit | b3a76119093d55c8162b8f97605123bb1e732cd0 (patch) | |
tree | 403ac5b0f49ef5a1428ed13c64da684bed033512 /man/ebuild.5 | |
parent | 53cc1f35ea19420542b40d3bd0ea298228d968b5 (diff) | |
download | portage-b3a76119093d55c8162b8f97605123bb1e732cd0.tar.gz portage-b3a76119093d55c8162b8f97605123bb1e732cd0.tar.bz2 portage-b3a76119093d55c8162b8f97605123bb1e732cd0.zip |
Bug #233077 - Add QA check which verifies that LDFLAGS are respected. For now
this only works when LDFLAGS contains --hash-style=gnu since in this case the
the elf files should not contain .hash sections and we can use scanelf to
check whether or not the those sections exist. This adds a QA_DT_HASH variable
that is analogous to existing QA control variables documented in the ebuild.5
man page. There is also a complementary QA_STRICT_DT_HASH variable that can
be set in make.conf in order to ignore QA_DT_HASH settings in ebuilds. Thanks
to Arfrever Frehtes Taifersar Arahesis for this patch which I've tweaked in
just a few minor ways.
svn path=/main/trunk/; revision=11205
Diffstat (limited to 'man/ebuild.5')
-rw-r--r-- | man/ebuild.5 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5 index d04cae228..4957dd973 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -422,6 +422,11 @@ stack (i.e. not those marked to need it which in fact do not). This should contain a list of file paths, relative to the image directory, of files that contain writable and executable segments. These are rare. The paths may contain regular expressions. +.TP +\fBQA_DT_HASH\fR +This should contain a list of file paths, relative to the image directory, of +files that contain .hash sections. The paths may contain regular expressions +with escape\-quoted special characters. .SH "PORTAGE DECLARATIONS" .TP .B inherit |