mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
grpc: add missing whitespace in aarch64-darwin NIX_CFLAGS_COMPILE (#256057)
Co-authored-by: Isidor Zeuner <nix@quidecco.pl>
This commit is contained in:
parent
6a1b459f0b
commit
3e8b2f5cc6
|
@ -94,8 +94,13 @@ stdenv.mkDerivation rec {
|
|||
export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option"
|
||||
+ lib.optionalString stdenv.isAarch64 "-Wno-error=format-security";
|
||||
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " (
|
||||
lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-error=unknown-warning-option"
|
||||
] ++ lib.optionals stdenv.isAarch64 [
|
||||
"-Wno-error=format-security"
|
||||
]
|
||||
);
|
||||
|
||||
enableParallelBuilds = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue