python311Packages.afdko: fix build on clang
This commit is contained in:
parent
438139ccb2
commit
fa1309bae9
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue