Merge pull request #266752 from wegank/souffle-clang-16
souffle: fix build with clang 16
This commit is contained in:
commit
597366a4aa
@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DSOUFFLE_GIT=OFF" ];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-but-set-variable";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/souffle" --prefix PATH : "${toolsPath}"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user