mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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 ];
|
||||
|
||||
# use C++14 Standard until error handling code gets updated upstream
|
||||
CXXFLAGS = [ "-std=c++14" ];
|
||||
|
||||
# disable flaky networking test
|
||||
postPatch = ''
|
||||
substituteInPlace test/stream.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user