mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
Add -lz. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5953 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
344fb94fd3
commit
abda370325
1 changed files with 5 additions and 4 deletions
|
@ -18,7 +18,6 @@ CFLAGS += -Wbad-function-cast -Wcast-align -Wconversion -Waggregate-return
|
|||
CFLAGS += -Wmissing-noreturn -Wmissing-format-attribute
|
||||
CPPFLAGS += -I../ -I../../../newbrt -I../../../include
|
||||
|
||||
|
||||
SRCS = $(wildcard *.c)
|
||||
|
||||
LOG_TESTS = $(patsubst %.c,%.log,$(SRCS))
|
||||
|
@ -95,12 +94,14 @@ HEADERS=../rangetree.h ../rangetree-internal.h test.h
|
|||
../../../newbrt/newbrt.o:
|
||||
cd ../../../newbrt && $(MAKE)
|
||||
|
||||
LDFLAGS = -lz
|
||||
|
||||
%.lin: %.c $(HEADERS) $(LINEAR_BINS)
|
||||
$(CC) -DDIR=\"dir.$<.lin\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LINEAR_BINS)
|
||||
$(CC) -DDIR=\"dir.$<.lin\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LINEAR_BINS) $(LDFLAGS)
|
||||
%.tlog: %.c $(HEADERS) $(TLOG_BINS)
|
||||
$(CC) -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(TLOG_BINS) -DTOKU_RT_NOOVERLAPS
|
||||
$(CC) -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(TLOG_BINS) -DTOKU_RT_NOOVERLAPS $(LDFLAGS)
|
||||
%.log: %.c $(HEADERS) $(LOG_BINS)
|
||||
$(CC) -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LOG_BINS)
|
||||
$(CC) -DDIR=\"dir.$<.log\" $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LOG_BINS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(ALL_TESTS) *.o *.gcno *.gcda *.gcov
|
||||
|
|
Loading…
Add table
Reference in a new issue