(Makefile): use -O2 flag by default

This commit is contained in:
Tomasz Sowa 2024-04-17 10:23:30 +02:00
parent a652a9d230
commit 1eb6930e7d
Signed by: tomasz.sowa
GPG Key ID: 662CC1438638588B
1 changed files with 2 additions and 2 deletions

View File

@ -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