summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
authormhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-09-21 21:12:24 +0800
committermhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-09-21 21:12:24 +0800
commit1d204516ebf4c011db4b4fb4877f5f41d9e18278 (patch)
treefe654aba03939e2cec2be127663924fcdda51015 /util/Makefile
parent3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980 (diff)
downloadpttbbs-1d204516ebf4c011db4b4fb4877f5f41d9e18278.tar
pttbbs-1d204516ebf4c011db4b4fb4877f5f41d9e18278.tar.gz
pttbbs-1d204516ebf4c011db4b4fb4877f5f41d9e18278.tar.bz2
pttbbs-1d204516ebf4c011db4b4fb4877f5f41d9e18278.tar.lz
pttbbs-1d204516ebf4c011db4b4fb4877f5f41d9e18278.tar.xz
pttbbs-1d204516ebf4c011db4b4fb4877f5f41d9e18278.tar.zst
pttbbs-1d204516ebf4c011db4b4fb4877f5f41d9e18278.zip
Add LDFLAGS for compiling bbsctl.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3567 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/Makefile')
-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