diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2025-06-08 13:13:50 +0200 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2025-06-08 13:14:17 +0200 |
commit | 3293dc98e37eed0fb0cbfcbd40434d3c37c69480 (patch) | |
tree | 0b6230befc19301ae3da5029dd711c835dcbf199 /configure.ac | |
parent | b66f7ed58346fc53198ffadc3c0bb0c448e097f9 (diff) | |
download | bindfs-3293dc98e37eed0fb0cbfcbd40434d3c37c69480.tar.gz |
Attempt to fix MacFuse compatibility
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2683a25..dde224e 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,12 @@ AS_IF([test "x$with_fuse2" == "xyes"], [ ]) my_CFLAGS="-std=${my_std} -Wall -Wextra -Wpedantic -fno-common" +case $build_os in + darwin* ) + # For MacFuse 5.x (2025-06-08) + my_CFLAGS="${my_CFLAGS} -Wno-language-extension-token -Wno-dollar-in-identifier-extension -DFUSE_DARWIN_ENABLE_EXTENSIONS=0" + ;; +esac my_LDFLAGS="-pthread" AC_SUBST([my_CPPFLAGS]) AC_SUBST([my_CFLAGS]) |