diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-29 19:20:19 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-29 19:20:19 +0800 |
commit | 5ac46b67e4342161acd60c5b0d976567e0e51d24 (patch) | |
tree | 3695d53b2aeb8c9d4f6b01f367159952e9b99acb /mbbsd | |
parent | d44235ac23d605d3ff77e6f40a685ac3276d6e48 (diff) | |
download | pttbbs-5ac46b67e4342161acd60c5b0d976567e0e51d24.tar pttbbs-5ac46b67e4342161acd60c5b0d976567e0e51d24.tar.gz pttbbs-5ac46b67e4342161acd60c5b0d976567e0e51d24.tar.bz2 pttbbs-5ac46b67e4342161acd60c5b0d976567e0e51d24.tar.lz pttbbs-5ac46b67e4342161acd60c5b0d976567e0e51d24.tar.xz pttbbs-5ac46b67e4342161acd60c5b0d976567e0e51d24.tar.zst pttbbs-5ac46b67e4342161acd60c5b0d976567e0e51d24.zip |
-O2 -Os -fomit-frame-pointer -fstrength-reduce
-fthread-jumps -fexpensive-optimizations
(save 12kb :P )
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile index b3256a76..05744bb7 100644 --- a/mbbsd/Makefile +++ b/mbbsd/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.20 2003/03/22 13:57:23 in2 Exp $ +# $Id: Makefile,v 1.21 2003/04/29 11:20:19 in2 Exp $ # 訂義基本初值 BBSHOME?= $(HOME) @@ -35,8 +35,10 @@ PTT_LIBS+= $(LIBS_$(OSTYPE)) CFLAGS= -g $(PTT_CFLAGS) LDFLAGS= -g $(PTT_LDFLAGS) $(PTT_LIBS) .else -CFLAGS+= -Os $(PTT_CFLAGS) -LDFLAGS+= -O $(PTT_LDFLAGS) $(PTT_LIBS) +CFLAGS+= -O2 -Os -fomit-frame-pointer -fstrength-reduce \ + -fthread-jumps -fexpensive-optimizations \ + $(PTT_CFLAGS) +LDFLAGS+= -O2 $(PTT_LDFLAGS) $(PTT_LIBS) .endif # 若有定義 DEBUG, 則在 CFLAGS內定義 DEBUG |