mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
dev-util/strace: sync static fix w/9999 ebuild and document it #653292
Bug: https://bugs.gentoo.org/653292
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user