Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 588578 Details for
Bug 693152
sys-apps/findutils-4.7.0[static]: undefined reference to pthread_*
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix static compilation by appending -pthread to CFLAGS
0001-sys-apps-findutils-Fix-static-compilation.patch (text/plain), 843 bytes, created by
Aidan Harris
on 2019-08-31 14:24:50 UTC
(
hide
)
Description:
Fix static compilation by appending -pthread to CFLAGS
Filename:
MIME Type:
Creator:
Aidan Harris
Created:
2019-08-31 14:24:50 UTC
Size:
843 bytes
patch
obsolete
>From bebd256089040ffa6949b31d75faacbd2881394d Mon Sep 17 00:00:00 2001 >From: Aidan Harris <me@aidanharr.is> >Date: Sat, 31 Aug 2019 15:22:51 +0100 >Subject: [PATCH] sys-apps/findutils: Fix static compilation > >Signed-off-by: Aidan Harris <me@aidanharr.is> >--- > sys-apps/findutils/findutils-4.7.0.ebuild | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/sys-apps/findutils/findutils-4.7.0.ebuild b/sys-apps/findutils/findutils-4.7.0.ebuild >index 5d4cd0269..6783a8ff8 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=( >-- >2.23.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 693152
:
588556
| 588578