diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-11-20 06:41:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 06:41:46 -0500 |
commit | 2e9e94a32d1ea3113e89906b3c16968d082cd234 (patch) | |
tree | 5da99c016b26b2ce2cf6c2eef092cedb806ba874 /pkgs/development | |
parent | a03719be2e676041847e1b59dafa8ab668fa2d2a (diff) | |
parent | df03e376fb24fc81b01863920803ace0eadc0469 (diff) |
Merge pull request #146720 from marsam/fix-grpc-aarch64
grpc: fix build on aarch64
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/grpc/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/grpc/default.nix b/pkgs/development/libraries/grpc/default.nix index c00e5a4e0d309..ae49974fefe11 100644 --- a/pkgs/development/libraries/grpc/default.nix +++ b/pkgs/development/libraries/grpc/default.nix @@ -81,7 +81,8 @@ stdenv.mkDerivation rec { export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH ''; - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option"; + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option" + + lib.optionalString stdenv.isAarch64 "-Wno-error=format-security"; enableParallelBuilds = true; |