mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
lambda-delta: fix build with clang
This commit is contained in:
parent
666bb4ea05
commit
13cd8b8437
@ -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 New Issue
Block a user