gnu-cim: fix build on LLVM

This commit is contained in:
Peder Bergebakken Sundt 2024-05-08 00:34:05 +02:00
parent 29681e6dd6
commit eae68dc97a

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;