summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-03 17:07:44 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-03 17:07:44 +0100
commitca3022b90df8966c937c638326496cd768ac80d9 (patch)
treecb087bd92e4f21bf7460775bc121c8f948db52f1
parentd30580c14316885e30e0de6a2c365f5623c2dc7f (diff)
Adjust to current build environment in Debian sid
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c414123..74d67a4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
PORTAUDIOCFLAGS=$(shell pkg-config --cflags portaudiocpp)
PORTAUDIOLIBS=$(shell pkg-config --libs portaudiocpp)
-CXX=clang++-11
+CXX=clang++-14
ifeq ($(CXXFLAGS),)
#CXXFLAGS=-O0 -g -D_DEBUG
CXXFLAGS=-O2 -DNDEBUG
endif
CXXFLAGS+=-stdlib=libc++
-CXXFLAGS+=-Wall
+CXXFLAGS+=-Wall -Wpedantic -gdwarf-4
CXXFLAGS+=-std=c++17 -fexceptions -Iexternal -fPIC
#-march=native -mtune=native # is not better for llvm
CC=clang