configs: atmel: at91sam9260eknf: update defconfig
[buildroot-gz.git] / package / duma / 0002-no-tests.patch
blob6fe76f725f99cb97321794829120a48961fab5a7
1 Do not build test programs
3 Biulding test programs does not work when we want to do a static link,
4 because duma.a redefines memcpy and strcpy, so the link fails.
6 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 diff -durN duma-2.5.15.orig/GNUmakefile duma-2.5.15/GNUmakefile
9 --- duma-2.5.15.orig/GNUmakefile 2014-11-16 14:47:05.874448560 +0100
10 +++ duma-2.5.15/GNUmakefile 2014-11-16 14:54:50.792048921 +0100
11 @@ -294,7 +294,7 @@
12 SO_OBJECTS=dumapp_so.o duma_so.o sem_inc_so.o print_so.o
14 # Make all the top-level targets the makefile knows about.
15 -all: libduma.a tstheap$(EXEPOSTFIX) dumatest$(EXEPOSTFIX) thread-test$(EXEPOSTFIX) testmt$(EXEPOSTFIX) dumatestpp$(EXEPOSTFIX) testoperators$(EXEPOSTFIX) $(DUMA_DYN_DEPS)
16 +all: libduma.a $(DUMA_DYN_DEPS)
18 # Perform self tests on the program this makefile builds.
19 check test: