3
0
Fork 0
forked from mirrors/nixpkgs

Update pkgs/development/tools/misc/indent/default.nix

Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com>
This commit is contained in:
Dmitry Bogatov 2021-11-07 14:38:22 -05:00 committed by GitHub
parent e762e6ab9e
commit 20121dc08d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" ];
nativeBuildInputs = [ texinfo ];
pkgsBuildBuild = [ buildPackages.stdenv.cc ];
pkgsBuildBuild = [ buildPackages.stdenv.cc ]; # needed when cross-compiling
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
"-Wno-implicit-function-declaration";