summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/Makefile b/util/Makefile
index d7e06524..ca7b0fd0 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -97,7 +97,7 @@ installdiskstat: diskstat
# for bbsctl. bbsctl should be compiled with bbs and installed with root
bbsctl: bbsctl.c util_osdep.o
- $(CCACHE) $(CC) $(CFLAGS) -o $@ $@.c util_osdep.o
+ $(CCACHE) $(CC) $(CFLAGS) ${LDFLAGS} -o $@ $@.c util_osdep.o
installbbsctl: bbsctl
rm -f /home/bbs/bin/bbsctl