We can use standard autotools out-of-tree build logic to avoid copying.
DEPEND="${RDEPEND}
libatomic? ( dev-libs/libatomic_ops )"
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
QA_DT_NEEDED_x86_fbsd="usr/lib/libunwind.so.7.0.0"
S="${WORKDIR}/${MY_P}"
sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
elibtoolize
- multilib_copy_sources
}
multilib_src_configure() {
# conservative-checks: validate memory addresses before use; as of 1.0.1,
# only x86_64 supports this, yet may be useful for debugging, couple it with
# debug useflag.
+ ECONF_SOURCE="${S}" \
ac_cv_header_atomic_ops_h=$(usex libatomic) \
econf \
--enable-cxx-exceptions \