Skip to content

Commit

Permalink
Merge pull request #234854 from reckenrode/pkg-config-clang
Browse files Browse the repository at this point in the history
pkg-config: fix build with newer clang
  • Loading branch information
wegank authored May 30, 2023
2 parents 22c392d + b9d1dde commit c50ea29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/tools/misc/pkg-config/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ stdenv.mkDerivation rec {
"ac_cv_func_posix_getgrgid_r=yes"
];

# Silence "incompatible integer to pointer conversion passing 'gsize'" when building with Clang.
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion";

enableParallelBuilding = true;
doCheck = true;

Expand Down

0 comments on commit c50ea29

Please sign in to comment.