microsoft_gsl: Fix gcc8 build

wip/yesman
Daniel Schaefer 5 years ago
parent 7858f5add5
commit 5548ff632e
  1. 3
      pkgs/development/libraries/microsoft_gsl/default.nix

@ -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…
Cancel
Save