summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-16 11:11:14 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-16 11:12:27 -0400
commitd223997faf36b70fa15ae794869afbdf475d338e (patch)
tree17864b0b9ce0dbf28de28b4c723d300d4fa0c6bd /sys-libs/libunwind
parentwww-plugins/adobe-flash: Version bump (bug #586044). (diff)
downloadgentoo-d223997faf36b70fa15ae794869afbdf475d338e.tar.gz
gentoo-d223997faf36b70fa15ae794869afbdf475d338e.tar.bz2
gentoo-d223997faf36b70fa15ae794869afbdf475d338e.zip
sys-libs/libunwind: disable test building in 1.2_rc1 too
Diffstat (limited to 'sys-libs/libunwind')
-rw-r--r--sys-libs/libunwind/libunwind-1.2_rc1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
index 5aa3d7093eba..8c8146944d4a 100644
--- a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
@@ -35,6 +35,10 @@ src_prepare() {
echo 'int main(){return 0;}' > tests/Gtest-dyn1.c
echo 'int main(){return 0;}' > tests/Ltest-dyn1.c
+ # Since we have tests disabled via RESTRICT, disable building in the subdir
+ # entirely. This worksaround some build errors too. #484846
+ sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
+
elibtoolize
}