Merge pull request #305877 from siraben/lambda-delta-clang
lambda-delta: fix build with clang
This commit is contained in:
commit
9c3e0d28d6
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ SDL2 ];
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-std=c89";
|
||||
};
|
||||
|
||||
|
||||
configureFlags = [ "--without-SDL1" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue