summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-04 11:36:26 +0000
committerMartin Mares <mj@ucw.cz>1999-03-04 11:36:26 +0000
commit7a2105becdbadf20c1b4e4d2359e339c90610825 (patch)
tree524bc4947ec1938cd48e3ec6a44a9f66983f8e4b /tools
parentaa64578641c15b137172acc927d9d7af5914576b (diff)
Use dmalloc instead of EFence when available (dmalloc has lot of improvements
over EFence and also hopefully smaller memory overhead, but sadly it's non-free for commercial use). If the DMALLOC_OPTIONS environment variable is not set, switch on `reasonable' checks by default. Also introduced mb_allocz() for cleared mb_alloc().
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.in2
-rw-r--r--tools/Rules.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 246872c0..ce649d6b 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -14,7 +14,7 @@ subdir depend:
set -e ; for a in $(static-dirs) ; do $(MAKE) -C $$a -f $(srcdir_abs)/$$a/Makefile $@ ; done
$(exedir)/bird: $(addsuffix /all.o, $(static-dirs)) conf/all.o lib/birdlib.a
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
.dir-stamp:
mkdir -p $(static-dirs)
diff --git a/tools/Rules.in b/tools/Rules.in
index 36a6eece..271a4eca 100644
--- a/tools/Rules.in
+++ b/tools/Rules.in
@@ -18,7 +18,8 @@ dir-objs:=$(addprefix $(objdir)/,$(all-dirs))
CPPFLAGS=-I$(root-rel) -I$(srcdir)
CFLAGS=$(CPPFLAGS) @CFLAGS@
-LDFLAGS=@LIBS@
+LDFLAGS=
+LIBS=@LIBS@
CC=@CC@
M4=@M4@
BISON=@BISON@