sys-libs/libunwind: disable test building in 1.2_rc1 too
authorMike Frysinger <vapier@gentoo.org>
Thu, 16 Jun 2016 15:11:14 +0000 (11:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Jun 2016 15:12:27 +0000 (11:12 -0400)
sys-libs/libunwind/libunwind-1.2_rc1.ebuild

index 5aa3d7093ebafb555b0b337c406247fbf1058bc4..8c8146944d4af2b05322d64921f6b3ab7ca1cb8b 100644 (file)
@@ -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
 }