From 40ecc6cf11a0fbfaa5a7fb65cf93ecf3edf8dc8e Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 5 Nov 2022 15:12:14 +0100 Subject: Fix startup from youtube-dl leftover --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3