microsoft_gsl: fix darwin build
This commit is contained in:
parent
1d5d237cf9
commit
29fe52f3bd
|
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
||||||
buildPhase = if nativeBuild then "make" else "true";
|
buildPhase = if nativeBuild then "make" else "true";
|
||||||
|
|
||||||
# https://github.com/microsoft/GSL/issues/806
|
# https://github.com/microsoft/GSL/issues/806
|
||||||
cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-Wno-catch-value" ];
|
cmakeFlags = lib.optionals stdenv.cc.isGNU
|
||||||
|
[ "-DCMAKE_CXX_FLAGS=-Wno-catch-value" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/include
|
mkdir -p $out/include
|
||||||
|
|
Loading…
Reference in New Issue