* [gentoo-dev] Checking if a package respects LDFLAGS
@ 2017-09-30 17:03 99% Keri Harris
0 siblings, 0 replies; 1+ results
From: Keri Harris @ 2017-09-30 17:03 UTC (permalink / raw
To: gentoo-dev
Hi,
Is there a recommended method for testing if a package respects LDFLAGS?
Arch testers are encouraged to add -Wl,--hash-style=gnu to LDFLAGS
[1],[2] and portage uses scanelf to check for .hash sections. However it
appears that ld defaults to using a .gnu.hash section:
$ touch test.c
$ gcc -o libtest.so -shared test.c
$ scanelf -qyRF '#k%p' -k .hash libtest.so
$ scanelf -qyRF '#k%p' -k .gnu.hash libtest.so
libtest.so
Maybe I'm missing something obvious.
Thanks
Keri
[1] https://wiki.gentoo.org/wiki/Project:AMD64_Arch_Testers
[2] https://wiki.gentoo.org/wiki/Project:X86/Arch_Testers_FAQ
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-09-30 17:03 99% [gentoo-dev] Checking if a package respects LDFLAGS Keri Harris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox