mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #309961 from pbsds/fix-gnu-cim-1715120834
gnu-cim: fix build on LLVM
This commit is contained in:
commit
bd8d932ecd
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user