python311Packages.afdko: fix build on clang

This commit is contained in:
natsukium
2023-11-29 12:55:14 +09:00
parent 438139ccb2
commit fa1309bae9
@@ -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;