python311Packages.pygame: fix build with clang 16
This commit is contained in:
@@ -60,6 +60,10 @@ buildPythonPackage rec {
|
||||
${python.pythonOnBuildForHost.interpreter} buildconfig/config.py
|
||||
'';
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
|
||||
Reference in New Issue
Block a user