(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
|
endif
|
||||||
|
|
||||||
ifndef CXXFLAGS
|
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
|
endif
|
||||||
|
|
||||||
ifndef LDFLAGS
|
ifndef LDFLAGS
|
||||||
LDFLAGS = -L/usr/local/lib
|
LDFLAGS = -L/usr/local/lib -s
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef AR
|
ifndef AR
|
||||||
|
|
Loading…
Reference in New Issue