microsoft_gsl: Fix gcc8 build
This commit is contained in:
parent
7858f5add5
commit
5548ff632e
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ catch cmake ];
|
||||
buildPhase = if nativeBuild then "make" else "true";
|
||||
|
||||
# https://github.com/microsoft/GSL/issues/806
|
||||
cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-Wno-catch-value" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
mv ../include/ $out/
|
||||
|
|
Loading…
Reference in a new issue