summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-29 19:20:19 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-29 19:20:19 +0800
commita39e551cc4046adcaaf0741184e5efa6640c1fd4 (patch)
tree6ad1eec46f87cc68bb0df7a61afe52897ad71c38
parent32f5c7eea9917cd8d4736afad6710690b5ae3d30 (diff)
downloadpttbbs-a39e551cc4046adcaaf0741184e5efa6640c1fd4.tar
pttbbs-a39e551cc4046adcaaf0741184e5efa6640c1fd4.tar.gz
pttbbs-a39e551cc4046adcaaf0741184e5efa6640c1fd4.tar.bz2
pttbbs-a39e551cc4046adcaaf0741184e5efa6640c1fd4.tar.lz
pttbbs-a39e551cc4046adcaaf0741184e5efa6640c1fd4.tar.xz
pttbbs-a39e551cc4046adcaaf0741184e5efa6640c1fd4.tar.zst
pttbbs-a39e551cc4046adcaaf0741184e5efa6640c1fd4.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@815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/Makefile b/pttbbs/mbbsd/Makefile
index b3256a76..05744bb7 100644
--- a/pttbbs/mbbsd/Makefile
+++ b/pttbbs/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