Merge pull request #309961 from pbsds/fix-gnu-cim-1715120834

gnu-cim: fix build on LLVM
This commit is contained in:
Nick Cao 2024-05-08 10:33:01 -04:00 committed by GitHub
commit bd8d932ecd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
done
'';
CFLAGS = lib.optionalString stdenv.cc.isClang "-Wno-return-type";
env.CFLAGS = lib.optionalString stdenv.cc.isClang "-Wno-return-type -Wno-error=implicit-function-declaration -Wno-error=implicit-int";
doCheck = true;