wdfs: fix Darwin build by setting CFLAGS=-std=gnu17

This commit is contained in:
Sarah Clark
2026-04-22 16:14:42 -07:00
parent f7813b0e41
commit 7f9288e33f
+5
View File
@@ -27,6 +27,11 @@ stdenv.mkDerivation (finalAttrs: {
neon
];
# autoconf 2.72 sets the C standard to C23 but not all compilers are ready for that
configureFlags = [
"CFLAGS=-std=gnu17"
];
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
# Fix the build on macOS with macFUSE installed. Needs autoreconfHook to
# take effect.