From 1d204516ebf4c011db4b4fb4877f5f41d9e18278 Mon Sep 17 00:00:00 2001 From: mhsin Date: Fri, 21 Sep 2007 13:12:24 +0000 Subject: Add LDFLAGS for compiling bbsctl. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3567 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3