mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
SDL1: fix building for musl with GCC 14
This commit is contained in:
parent
999011cc40
commit
acff7907ed
@ -72,7 +72,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Please try revert the change that introduced this comment when updating SDL.
|
||||
] ++ lib.optional stdenv.isDarwin "--disable-x11-shared"
|
||||
++ lib.optional (!x11Support) "--without-x"
|
||||
++ lib.optional alsaSupport "--with-alsa-prefix=${alsa-lib.out}/lib";
|
||||
++ lib.optional alsaSupport "--with-alsa-prefix=${alsa-lib.out}/lib"
|
||||
++ lib.optional stdenv.hostPlatform.isMusl "CFLAGS=-DICONV_INBUF_NONCONST";
|
||||
|
||||
patches = [
|
||||
./find-headers.patch
|
||||
|
Loading…
Reference in New Issue
Block a user