summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-11-05 15:12:14 +0100
committerRoland Reichwein <mail@reichwein.it>2022-11-05 15:12:14 +0100
commit40ecc6cf11a0fbfaa5a7fb65cf93ecf3edf8dc8e (patch)
tree895551a143960373776624a6a94dbeddf111682f /Makefile
parent54539cc210afcda25f6da12ad08c2b5fa8bd5be2 (diff)
Fix startup from youtube-dl leftover
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d85bad7..8891bc7 100755
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,14 @@
# Environment: Debian
#
-DISTROS=base debian10 debian11 ubuntu2004 ubuntu2204
+DISTROS=base debian11 ubuntu2204
VERSION=$(shell dpkg-parsechangelog --show-field Version)
+CXX=clang++-13
+
+ifeq ($(shell which $(CXX)),)
CXX=clang++-10
+endif
ifeq ($(shell which $(CXX)),)
CXX=clang++
@@ -32,7 +36,7 @@ ifeq ($(CXXFLAGS),)
CXXFLAGS=-g -O2
endif
-CXXFLAGS+=-Wall -fPIE -std=c++17 -Wpedantic -gdwarf-4
+CXXFLAGS+=-Wall -fPIE -std=c++20 -Wpedantic -gdwarf-4
LDFLAGS+=-pie
ifeq ($(CXX),clang++-10)