diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-09-27 09:47:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-09-27 09:57:34 +0200 |
commit | d7f5d7096c7ca03d109caafb9cb71a01cc58beb3 (patch) | |
tree | 22fe8842574909227af854e5bd6c6bd34e633eeb /dev-util/google-perftools | |
parent | app-admin/swatch: renamed to app-admin/swatchdog (diff) | |
download | gentoo-d7f5d7096c7ca03d109caafb9cb71a01cc58beb3.tar.gz gentoo-d7f5d7096c7ca03d109caafb9cb71a01cc58beb3.tar.bz2 gentoo-d7f5d7096c7ca03d109caafb9cb71a01cc58beb3.zip |
dev-util/google-perftools: Wrap headers for x32 correctly
Diffstat (limited to 'dev-util/google-perftools')
-rw-r--r-- | dev-util/google-perftools/google-perftools-2.5.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/dev-util/google-perftools/google-perftools-2.5.ebuild b/dev-util/google-perftools/google-perftools-2.5.ebuild index bb3355a61db7..3229577d2389 100644 --- a/dev-util/google-perftools/google-perftools-2.5.ebuild +++ b/dev-util/google-perftools/google-perftools-2.5.ebuild @@ -72,8 +72,15 @@ src_test() { autotools-multilib_src_test } -# abi_x86_x32 forces minimal, which installs fewer headers -# so override the header check with a no-op -multilib_check_headers() { - : +src_install() { + if ! use minimal && has x32 ${MULTILIB_ABIS}; then + MULTILIB_WRAPPED_HEADERS=( + /usr/include/gperftools/heap-checker.h + /usr/include/gperftools/heap-profiler.h + /usr/include/gperftools/stacktrace.h + /usr/include/gperftools/profiler.h + ) + fi + + autotools-multilib_src_install } |