From 55d1d3612141ef1fe858b2bccb950da51cfe7a17 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 15 Dec 2022 11:01:37 +0100 Subject: Bugfix Validation --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 75e9bc5..98364d1 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ ifeq ($(DEBIANVERSION),10) CXX=g++-8 else +ifeq ($(wildcard $(shell which clang++-14)),) ifeq ($(wildcard $(shell which clang++-13)),) ifeq ($(wildcard $(shell which clang++-12)),) ifeq ($(wildcard $(shell which clang++-11)),) @@ -31,6 +32,9 @@ endif else CXX=clang++-13 endif +else +CXX=clang++-14 +endif endif @@ -41,6 +45,14 @@ ifeq ($(CXXFLAGS),) CXXFLAGS=-O2 -DNDEBUG endif +ifeq ($(CXX),clang++-14) +ifeq ($(ONDEBIAN),yes) +COMPILER_SUITE=clang +LIBS+=-fuse-ld=lld-14 +STANDARD=c++20 +endif +endif + ifeq ($(CXX),clang++-13) ifeq ($(ONDEBIAN),yes) COMPILER_SUITE=clang -- cgit v1.2.3