mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-11 15:08:52 +03: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.
|
# Please try revert the change that introduced this comment when updating SDL.
|
||||||
] ++ lib.optional stdenv.isDarwin "--disable-x11-shared"
|
] ++ lib.optional stdenv.isDarwin "--disable-x11-shared"
|
||||||
++ lib.optional (!x11Support) "--without-x"
|
++ 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 = [
|
patches = [
|
||||||
./find-headers.patch
|
./find-headers.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user