diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-22 05:09:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 05:09:29 +0200 |
commit | 9c3e0d28d63ec5565b85e7d54213ecc48727b84c (patch) | |
tree | c897ea6e12af681f2ec9453fe374b5482af48dbf /pkgs/applications/emulators | |
parent | 20e02ff2253d0b75169a77bf0ba6aeaf60f11874 (diff) | |
parent | 13cd8b8437c43cafadf7c039372be95f16fbd4ec (diff) |
Merge pull request #305877 from siraben/lambda-delta-clang
lambda-delta: fix build with clang
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/lambda-delta/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/lambda-delta/default.nix b/pkgs/applications/emulators/lambda-delta/default.nix index a17a0eadfd5b9..cf2001caff32f 100644 --- a/pkgs/applications/emulators/lambda-delta/default.nix +++ b/pkgs/applications/emulators/lambda-delta/default.nix @@ -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" ]; |