summaryrefslogtreecommitdiffstats
path: root/pttbbs.mk
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-21 17:49:57 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-21 17:49:57 +0800
commit9f0be6bfcc67a19c74339d3260953465aeba139e (patch)
tree52a14e0e76aa211cf07a23ed77b74da7c3a03439 /pttbbs.mk
parentfd51845386c6fd2d5459e9ae96a8cad0d3985a5f (diff)
downloadpttbbs-9f0be6bfcc67a19c74339d3260953465aeba139e.tar
pttbbs-9f0be6bfcc67a19c74339d3260953465aeba139e.tar.gz
pttbbs-9f0be6bfcc67a19c74339d3260953465aeba139e.tar.bz2
pttbbs-9f0be6bfcc67a19c74339d3260953465aeba139e.tar.lz
pttbbs-9f0be6bfcc67a19c74339d3260953465aeba139e.tar.xz
pttbbs-9f0be6bfcc67a19c74339d3260953465aeba139e.tar.zst
pttbbs-9f0be6bfcc67a19c74339d3260953465aeba139e.zip
add -I/usr/local/include to pttbbs.mk
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttbbs.mk')
-rw-r--r--pttbbs.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs.mk b/pttbbs.mk
index 47180ebf..3149af23 100644
--- a/pttbbs.mk
+++ b/pttbbs.mk
@@ -13,7 +13,7 @@ PTT_LIBS= -lcrypt -lhz -liconv
#PTT_CFLAGS+= -DNDEBUG
# FreeBSD特有的環境
-CFLAGS_FreeBSD= -DHAVE_SETPROCTITLE -DFreeBSD
+CFLAGS_FreeBSD= -DHAVE_SETPROCTITLE -DFreeBSD -I/usr/local/include
LDFLAGS_FreeBSD=
LIBS_FreeBSD= -lkvm
@@ -33,10 +33,10 @@ PTT_LIBS+= $(LIBS_$(OSTYPE))
CFLAGS= -g $(PTT_CFLAGS)
LDFLAGS= -g $(PTT_LDFLAGS) $(PTT_LIBS)
.else
-CFLAGS+= -O2 -Os -fomit-frame-pointer -fstrength-reduce \
+CFLAGS+= -Os -fomit-frame-pointer -fstrength-reduce \
-fthread-jumps -fexpensive-optimizations \
$(PTT_CFLAGS)
-LDFLAGS+= -O2 $(PTT_LDFLAGS) $(PTT_LIBS)
+LDFLAGS+= -Os $(PTT_LDFLAGS) $(PTT_LIBS)
.endif
# 若有定義 DEBUG, 則在 CFLAGS內定義 DEBUG