lambda-delta: fix build with clang

This commit is contained in:
Ben Siraphob 2024-04-21 21:44:54 -04:00
parent 666bb4ea05
commit 13cd8b8437
No known key found for this signature in database
GPG Key ID: 45F0E5D788143267
1 changed files with 4 additions and 0 deletions

View File

@ -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" ];