diff options
author | Mike Frysinger <vapier@chromium.org> | 2018-05-18 03:51:24 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2018-05-18 04:05:56 -0400 |
commit | 93ffaf8a823d13397792fd7c741daa3d8a4fdb11 (patch) | |
tree | c1ceca6326b6480f9fdce2730f4e1e18c371c78f | |
parent | dev-util/strace: update HOMEPAGE to strace.io (diff) | |
download | gentoo-93ffaf8a823d13397792fd7c741daa3d8a4fdb11.tar.gz gentoo-93ffaf8a823d13397792fd7c741daa3d8a4fdb11.tar.bz2 gentoo-93ffaf8a823d13397792fd7c741daa3d8a4fdb11.zip |
dev-util/strace: sync static fix w/9999 ebuild and document it #653292
Bug: https://bugs.gentoo.org/653292
-rw-r--r-- | dev-util/strace/strace-4.22.ebuild | 1 | ||||
-rw-r--r-- | dev-util/strace/strace-9999.ebuild | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/dev-util/strace/strace-4.22.ebuild b/dev-util/strace/strace-4.22.ebuild index e7b555a3e2b0..9fd23499e4d2 100644 --- a/dev-util/strace/strace-4.22.ebuild +++ b/dev-util/strace/strace-4.22.ebuild @@ -44,6 +44,7 @@ src_prepare() { fi filter-lfs-flags # configure handles this sanely + # Add -pthread since strace wants -lrt for timer_create, and -lrt uses -lpthread. use static && append-ldflags -static -pthread export ac_cv_header_libaio_h=$(usex aio) diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild index bcf676fc5d5e..9a46478721fc 100644 --- a/dev-util/strace/strace-9999.ebuild +++ b/dev-util/strace/strace-9999.ebuild @@ -44,7 +44,8 @@ src_prepare() { fi filter-lfs-flags # configure handles this sanely - use static && append-ldflags -static + # Add -pthread since strace wants -lrt for timer_create, and -lrt uses -lpthread. + use static && append-ldflags -static -pthread export ac_cv_header_libaio_h=$(usex aio) use elibc_musl && export ac_cv_header_stdc=no |