add -std=c++14 to CXXFLAGS

to fix incompatibility of error handling with C++17 Standard
This commit is contained in:
Frido Friedemann 2022-05-19 17:29:28 +02:00
parent 00e9d7ab7a
commit 01353ba28a

View file

@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
# use C++14 Standard until error handling code gets updated upstream
CXXFLAGS = [ "-std=c++14" ];
# disable flaky networking test
postPatch = ''
substituteInPlace test/stream.cpp \