(Makefile): use -O2 flag by default
This commit is contained in:
parent
a652a9d230
commit
1eb6930e7d
4
Makefile
4
Makefile
|
@ -4,11 +4,11 @@ CXX = g++
|
|||
endif
|
||||
|
||||
ifndef CXXFLAGS
|
||||
CXXFLAGS = -Wfatal-errors -fPIC -Wall -pedantic -O0 -g3 -pthread -std=c++20 -I../../pikotools/src -I../lib -I/usr/local/include
|
||||
CXXFLAGS = -Wfatal-errors -fPIC -Wall -pedantic -O2 -pthread -std=c++20 -I../../pikotools/src -I../lib -I/usr/local/include
|
||||
endif
|
||||
|
||||
ifndef LDFLAGS
|
||||
LDFLAGS = -L/usr/local/lib
|
||||
LDFLAGS = -L/usr/local/lib -s
|
||||
endif
|
||||
|
||||
ifndef AR
|
||||
|
|
Loading…
Reference in New Issue