mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #305877 from siraben/lambda-delta-clang
lambda-delta: fix build with clang
This commit is contained in:
commit
9c3e0d28d6
@ -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