python311Packages.afdko: fix build on clang

This commit is contained in:
natsukium 2023-11-28 23:23:16 +09:00
parent 438139ccb2
commit fa1309bae9
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -64,6 +64,11 @@ buildPythonPackage rec {
./use-dynamic-system-antlr4-runtime.patch
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang (toString [
"-Wno-error=incompatible-function-pointer-types"
"-Wno-error=int-conversion"
]);
# setup.py will always (re-)execute cmake in buildPhase
dontConfigure = true;