summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-17 11:28:34 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-17 11:28:34 +0800
commitfc9427e3fae4455ac9818ff9127c01f325b86497 (patch)
treecd661bff2fd3b7993bf1538be5b1b89fb04152e0 /daemon
parent215fb2042a4ec7e80ad4faab7a638a4cd6944802 (diff)
downloadpttbbs-fc9427e3fae4455ac9818ff9127c01f325b86497.tar
pttbbs-fc9427e3fae4455ac9818ff9127c01f325b86497.tar.gz
pttbbs-fc9427e3fae4455ac9818ff9127c01f325b86497.tar.bz2
pttbbs-fc9427e3fae4455ac9818ff9127c01f325b86497.tar.lz
pttbbs-fc9427e3fae4455ac9818ff9127c01f325b86497.tar.xz
pttbbs-fc9427e3fae4455ac9818ff9127c01f325b86497.tar.zst
pttbbs-fc9427e3fae4455ac9818ff9127c01f325b86497.zip
Clean up ccache.
Add CXXFLAGS git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4376 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon')
-rw-r--r--daemon/fromd/Makefile4
-rw-r--r--daemon/utmpd/Makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/daemon/fromd/Makefile b/daemon/fromd/Makefile
index 054f9224..88530f60 100644
--- a/daemon/fromd/Makefile
+++ b/daemon/fromd/Makefile
@@ -11,9 +11,9 @@ all: ${PROGRAMS}
.SUFFIXES: .c .cpp .o
.c.o:
- $(CCACHE) $(CC) $(CFLAGS) -c $*.c
+ $(CC) $(CFLAGS) -c $*.c
.cpp.o:
- $(CCACHE) $(CXX) $(CFLAGS) -c $*.cpp
+ $(CXX) $(CXXFLAGS) -c $*.cpp
fromd: fromd.o ip_desc_db.o
${CC} ${CFLAGS} ${LDFLAGS} -levent -o $@ $> $(LDLIBS)
diff --git a/daemon/utmpd/Makefile b/daemon/utmpd/Makefile
index a6f99333..76075961 100644
--- a/daemon/utmpd/Makefile
+++ b/daemon/utmpd/Makefile
@@ -14,16 +14,16 @@ all: ${PROGRAMS}
.SUFFIXES: .c .cpp .o
.c.o:
- $(CCACHE) $(CC) $(CFLAGS) -c $*.c
+ $(CC) $(CFLAGS) -c $*.c
.cpp.o:
- $(CCACHE) $(CXX) $(CFLAGS) -c $*.cpp
+ $(CXX) $(CXXFLAGS) -c $*.cpp
utmpserver: utmpserver.o $(UTILOBJ)
${CC} ${CFLAGS} ${LDFLAGS} -o $* $*.o $(UTILOBJ) $(LDLIBS)
utmpserver2: utmpserver2.o friend.o $(UTILOBJ)
${CXX} ${CFLAGS} ${LDFLAGS} -o $* $*.o $(UTILOBJ) friend.o $(LDLIBS)
utmpserver3: utmpserver3.o friend.o $(UTILOBJ)
- ${CXX} ${CFLAGS} ${LDFLAGS} -levent -o $* $*.o $(UTILOBJ) friend.o $(LDLIBS)
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -levent -o $* $*.o $(UTILOBJ) friend.o $(LDLIBS)
utmpsync: utmpsync.o $(UTILOBJ)
${CC} ${CFLAGS} ${LDFLAGS} -o $* $*.o $(UTILOBJ) $(LDLIBS)