mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
grpc: only set -Wno-error on clang
Apparently GCC errors on this: https://hydra.nixos.org/build/83561519/
This commit is contained in:
parent
ef16e1fe03
commit
f0cee6b14f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
rm -vf BUILD
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unknown-warning-option";
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option";
|
||||
|
||||
enableParallelBuilds = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue