mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
microsoft_gsl: Fix gcc8 build
This commit is contained in:
parent
7858f5add5
commit
5548ff632e
@ -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 New Issue
Block a user