Created attachment 588556 [details, diff] Fix static compilation by appending -pthread to CFLAGS There are multiple undefined references to pthread_* when building statically without -pthread in the CFLAGS.
Fix looks okay, but please put it into an "if ... ; then ... fi" block: if use static ; then ... fi Thanks.
Created attachment 588578 [details, diff] Fix static compilation by appending -pthread to CFLAGS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf6321916f1f2eb69ec11ef0e19185b3f23a13c commit 0bf6321916f1f2eb69ec11ef0e19185b3f23a13c Author: Aidan Harris <me@aidanharr.is> AuthorDate: 2019-08-31 14:22:51 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-08-31 21:02:56 +0000 sys-apps/findutils: Fix static compilation Signed-off-by: Aidan Harris <me@aidanharr.is> Closes: https://bugs.gentoo.org/693152 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/findutils/findutils-4.7.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)