Merge pull request #305877 from siraben/lambda-delta-clang

lambda-delta: fix build with clang
This commit is contained in:
Weijia Wang 2024-04-22 05:09:29 +02:00 committed by GitHub
commit 9c3e0d28d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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" ];