open -O2 optimization
This commit is contained in:
parent
eec13233bf
commit
a350adc2cf
8
makefile
8
makefile
|
@ -43,11 +43,11 @@ CC = ccache g++
|
|||
#NOTICE: -O2 is recommended, while -O3 is dangerous
|
||||
#when developing, not use -O because it will disturb the normal
|
||||
#routine. use it for test and release.
|
||||
CFLAGS = -c -Wall -g #-fprofile-arcs -ftest-coverage #-pg
|
||||
EXEFLAG = -g #-fprofile-arcs -ftest-coverage #-pg
|
||||
#CFLAGS = -c -Wall -g #-fprofile-arcs -ftest-coverage #-pg
|
||||
#EXEFLAG = -g #-fprofile-arcs -ftest-coverage #-pg
|
||||
#-coverage
|
||||
#CFLAGS = -c -Wall -O2
|
||||
#EXEFLAG = -O2
|
||||
CFLAGS = -c -Wall -O2
|
||||
EXEFLAG = -O2
|
||||
|
||||
#add -lreadline -ltermcap if using readline or objs contain readline
|
||||
library = -ltermcap -lreadline -L./lib -lantlr -lgcov
|
||||
|
|
Loading…
Reference in New Issue