diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index ff74467aab..813606a1e2 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -1,7 +1,7 @@
 # Template file for 'libunwind'.
 pkgname=libunwind
 version=1.1
-revision=4
+revision=5
 build_style=gnu-configure
 hostmakedepends="libtool automake"
 makedepends="liblzma-devel"
@@ -15,7 +15,7 @@ checksum=9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a
 pre_configure() {
 	# https://lists.gnu.org/archive/html/libunwind-devel/2014-06/msg00024.html
 	sed -i /LIBCRTS/s/-lgcc/-lgcc_s/ configure.ac
-
+	sed -i /SUBDIRS/s/tests// Makefile.am
 	autoreconf -fi
 }