add -std=c++14 to CXXFLAGS
to fix incompatibility of error handling with C++17 Standard
This commit is contained in:
parent
00e9d7ab7a
commit
01353ba28a
|
@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
# use C++14 Standard until error handling code gets updated upstream
|
||||||
|
CXXFLAGS = [ "-std=c++14" ];
|
||||||
|
|
||||||
# disable flaky networking test
|
# disable flaky networking test
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace test/stream.cpp \
|
substituteInPlace test/stream.cpp \
|
||||||
|
|
Loading…
Reference in a new issue