Makefile: do not hard code g++ version. On ancient systems left up to user to set it properly...

This commit is contained in:
Albert S. 2019-02-21 10:51:07 +01:00
parent ba8815a3eb
commit 78a1d5d1aa

View File

@ -4,8 +4,7 @@ CXXFLAGS=-std=c++17 -O0 -g -no-pie -pipe -MMD -Wall -Wextra
RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra
LDFLAGS=-lsqlite3 -lpthread -lcrypto -lboost_regex -lstdc++fs LDFLAGS=-lsqlite3 -lpthread -lcrypto -lboost_regex -lstdc++fs
#currently default g++ versions in most distros do not usually support c++17 well enough CXX=g++
CXX=g++-8.2.0
SOURCES=$(wildcard *.cpp) SOURCES=$(wildcard *.cpp)