aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/depends/target/nettle/01-disable_testsuite.patch11
-rw-r--r--tools/depends/target/nettle/Makefile1
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/nettle/01-disable_testsuite.patch b/tools/depends/target/nettle/01-disable_testsuite.patch
new file mode 100644
index 0000000000..97b1d47f97
--- /dev/null
+++ b/tools/depends/target/nettle/01-disable_testsuite.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2015-04-11 15:11:40.000000000 +0200
++++ Makefile.in 2015-04-11 15:11:47.000000000 +0200
+@@ -16,7 +16,7 @@
+
+ OPT_ASM_SOURCES = @OPT_ASM_SOURCES@
+
+-SUBDIRS = tools testsuite examples
++SUBDIRS = tools examples
+
+ include config.make
+
diff --git a/tools/depends/target/nettle/Makefile b/tools/depends/target/nettle/Makefile
index df823eacf2..ff6e12023e 100644
--- a/tools/depends/target/nettle/Makefile
+++ b/tools/depends/target/nettle/Makefile
@@ -29,6 +29,7 @@ $(TARBALLS_LOCATION)/$(ARCHIVE):
$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
+ cd $(PLATFORM); patch -p0 < ../01-disable_testsuite.patch
cd $(PLATFORM); $(CONFIGURE)
$(LIBDYLIB): $(PLATFORM)