mdbx: fix CC and XCFLAGS in 'ci' make-target rules.

Change-Id: I5a658fedd4e5a51c298a0b76e709b1f9cd28a261
This commit is contained in:
Leo Yuriev 2016-08-25 21:09:06 +03:00
parent 8a721f7fef
commit 2500c766b7

View File

@ -199,8 +199,9 @@ bench: bench-lmdb.txt bench-mdbx.txt
endif endif
ci-rule = ( CC=$$(which $1); if [ -n "$$CC" ]; then \ ci-rule = ( CC=$$(which $1); if [ -n "$$CC" ]; then \
CC=$$(readlink -f $$CC); echo -n "probe by $2 ($$CC): " && \ echo -n "probe by $2 ($$CC): " && \
$(MAKE) XCFLAGS="-UNDEBUG -DMDB_DEBUG=2" clean >$1.log 2>$1.err && $(MAKE) all check 1>$1.log 2>$1.err && echo "OK" \ $(MAKE) clean >$1.log 2>$1.err && \
$(MAKE) CC=$$(readlink -f $$CC) XCFLAGS="-UNDEBUG -DMDB_DEBUG=2" all check 1>$1.log 2>$1.err && echo "OK" \
|| ( echo "FAILED"; cat $1.err >&2; exit 1 ); \ || ( echo "FAILED"; cat $1.err >&2; exit 1 ); \
else echo "no $2 ($1) for probe"; fi; ) else echo "no $2 ($1) for probe"; fi; )
ci: ci: