(Makefile): use -O2 flag by default
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user