dante: Add CFLAGS config

Address #511329 (Darwin regressions from autoconf update)
This commit is contained in:
Ralph Seichter
2026-04-25 04:46:54 +02:00
parent f14925dad5
commit ead3fdce67
+4 -1
View File
@@ -37,7 +37,10 @@ stdenv.mkDerivation (finalAttrs: {
if !stdenv.hostPlatform.isDarwin then
[ "--with-libc=libc.so.6" ]
else
[ "--with-libc=libc${stdenv.hostPlatform.extensions.sharedLibrary}" ];
[
"--with-libc=libc${stdenv.hostPlatform.extensions.sharedLibrary}"
"CFLAGS=-std=gnu17"
];
dontAddDisableDepTrack = stdenv.hostPlatform.isDarwin;