mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
pkg-config: fix build with newer clang
Building pkg-config with newer versions of clang fails in the vendored glib due to an incompatible conversion.ZZ
This commit is contained in:
parent
5611fa71ab
commit
b9d1dde37b
@ -35,6 +35,9 @@ stdenv.mkDerivation rec {
|
|||||||
"ac_cv_func_posix_getgrgid_r=yes"
|
"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;
|
enableParallelBuilding = true;
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user