xref: /OK3568_Linux_fs/buildroot/package/duma/0002-no-tests.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDo not build test programs
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunBiulding test programs does not work when we want to do a static link,
4*4882a593Smuzhiyunbecause duma.a redefines memcpy and strcpy, so the link fails.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunSigned-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
7*4882a593Smuzhiyun
8*4882a593Smuzhiyundiff -durN duma-2.5.15.orig/GNUmakefile duma-2.5.15/GNUmakefile
9*4882a593Smuzhiyun--- duma-2.5.15.orig/GNUmakefile	2014-11-16 14:47:05.874448560 +0100
10*4882a593Smuzhiyun+++ duma-2.5.15/GNUmakefile	2014-11-16 14:54:50.792048921 +0100
11*4882a593Smuzhiyun@@ -294,7 +294,7 @@
12*4882a593Smuzhiyun SO_OBJECTS=dumapp_so.o duma_so.o sem_inc_so.o print_so.o
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun # Make all the top-level targets the makefile knows about.
15*4882a593Smuzhiyun-all:	libduma.a tstheap$(EXEPOSTFIX) dumatest$(EXEPOSTFIX) thread-test$(EXEPOSTFIX) testmt$(EXEPOSTFIX) dumatestpp$(EXEPOSTFIX) testoperators$(EXEPOSTFIX) $(DUMA_DYN_DEPS)
16*4882a593Smuzhiyun+all:	libduma.a $(DUMA_DYN_DEPS)
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun # Perform self tests on the program this makefile builds.
19*4882a593Smuzhiyun check test:
20