summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Harris <me@aidanharr.is>2019-08-31 15:22:51 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-08-31 23:02:56 +0200
commit0bf6321916f1f2eb69ec11ef0e19185b3f23a13c (patch)
tree24a4e50a929f6d5c1647677a640f2afe6b8c86ec
parentdev-libs/libwacom: 1.0 version bump (diff)
downloadgentoo-0bf6321916f1f2eb69ec11ef0e19185b3f23a13c.tar.gz
gentoo-0bf6321916f1f2eb69ec11ef0e19185b3f23a13c.tar.bz2
gentoo-0bf6321916f1f2eb69ec11ef0e19185b3f23a13c.zip
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>
-rw-r--r--sys-apps/findutils/findutils-4.7.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/findutils/findutils-4.7.0.ebuild b/sys-apps/findutils/findutils-4.7.0.ebuild
index 5d4cd0269a66..6783a8ff87fb 100644
--- a/sys-apps/findutils/findutils-4.7.0.ebuild
+++ b/sys-apps/findutils/findutils-4.7.0.ebuild
@@ -41,7 +41,10 @@ src_prepare() {
}
src_configure() {
- use static && append-ldflags -static
+ if use static; then
+ append-flags -pthread
+ append-ldflags -static
+ fi
program_prefix=$(usex userland_GNU '' g)
local myeconfargs=(