at 18.09-beta 915 B view raw
1commit 029031a68873bc3784a8561bd8e049efbd34f9d0 (HEAD) 2Author: Vladimír Čunát <vcunat@gmail.com> 3Date: Sun Apr 1 11:05:31 2018 +0200 4 5 make: gcc -> $(CC) 6 7diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile 8index f254511..612484e 100644 9--- a/libraries/liblmdb/Makefile 10+++ b/libraries/liblmdb/Makefile 11@@ -102,13 +102,13 @@ COV_OBJS=xmdb.o xmidl.o 12 13 coverage: xmtest 14 for i in mtest*.c [0-9]*.c; do j=`basename \$$i .c`; $(MAKE) $$j.o; \ 15- gcc -o x$$j $$j.o $(COV_OBJS) -pthread $(COV_FLAGS); \ 16+ $(CC) -o x$$j $$j.o $(COV_OBJS) -pthread $(COV_FLAGS); \ 17 rm -rf testdb; mkdir testdb; ./x$$j; done 18 gcov xmdb.c 19 gcov xmidl.c 20 21 xmtest: mtest.o xmdb.o xmidl.o 22- gcc -o xmtest mtest.o xmdb.o xmidl.o -pthread $(COV_FLAGS) 23+ $(CC) -o xmtest mtest.o xmdb.o xmidl.o -pthread $(COV_FLAGS) 24 25 xmdb.o: mdb.c lmdb.h midl.h 26 $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) -O0 $(COV_FLAGS) -c mdb.c -o $@