docs: use O2 in makefile
This commit is contained in:
parent
d0bf0ac6a0
commit
1fde76262f
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 -O2 -pthread -std=c++11
|
||||
#EXEFLAG = -O2 -pthread -std=c++11
|
||||
CFLAGS = -c -Wall -O2 -pthread -std=c++11
|
||||
EXEFLAG = -O2 -pthread -std=c++11
|
||||
#-coverage
|
||||
CFLAGS = -c -Wall -pthread -g -std=c++11
|
||||
EXEFLAG = -pthread -g -std=c++11
|
||||
#CFLAGS = -c -Wall -pthread -g -std=c++11
|
||||
#EXEFLAG = -pthread -g -std=c++11
|
||||
|
||||
#add -lreadline -ltermcap if using readline or objs contain readline
|
||||
library = -ltermcap -lreadline -L./lib -L/usr/local/lib -lantlr -lgcov -lboost_filesystem -lboost_system -lboost_regex -lpthread -I/usr/local/include/boost
|
||||
|
|
Loading…
Reference in New Issue