diff options
Diffstat (limited to 'sys-libs/libcxx/libcxx-4.0.1.ebuild')
-rw-r--r-- | sys-libs/libcxx/libcxx-4.0.1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-libs/libcxx/libcxx-4.0.1.ebuild b/sys-libs/libcxx/libcxx-4.0.1.ebuild index 64f610ce5bb2..4273ce8d76ec 100644 --- a/sys-libs/libcxx/libcxx-4.0.1.ebuild +++ b/sys-libs/libcxx/libcxx-4.0.1.ebuild @@ -71,7 +71,9 @@ pkg_setup() { fi } -multilib_src_configure() { +src_configure() { + # note: we need to do this before multilib kicks in since it will + # alter the CHOST local cxxabi cxxabi_incs if use libcxxabi; then cxxabi=libcxxabi @@ -85,6 +87,10 @@ multilib_src_configure() { cxxabi_incs="${gcc_inc};${gcc_inc}/${CHOST}" fi + multilib-minimal_src_configure +} + +multilib_src_configure() { # we want -lgcc_s for unwinder, and for compiler runtime when using # gcc, clang with gcc runtime (or any unknown compiler) local extra_libs=() want_gcc_s=ON |