summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a58b18c..ee38b53 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ PROJECTNAME=minicc
VERSION=$(shell dpkg-parsechangelog --show-field Version)
DISTROS=base #debian10 ubuntu2004 ubuntu2010
-CXX=clang++-11
+CXX=clang++
#CXX=g++-10
#CXXFLAGS=-O2 -DNDEBUG
@@ -14,8 +14,7 @@ CXXFLAGS=-O0 -g -D_DEBUG
CXXFLAGS+= -Wall -I. -std=c++20
CXXFLAGS+= -fPIE -DVERSION=\"$(VERSION)\"
-
-ifeq ($(CXX),clang++-11)
+ifeq ($(CXX),clang++)
CXXFLAGS+=-stdlib=libc++
endif
@@ -31,7 +30,7 @@ LIBS=\
-lboost_regex \
-lpthread
-ifeq ($(CXX),clang++-11)
+ifeq ($(CXX),clang++)
LIBS+= \
-fuse-ld=lld-11 \
-lc++ \