- c8f32f9f added CPPFLAGS to the libfuse object rules but not to the
rules building mergerfs-fusermount and mount.mergerfs, and the
fusermount rule never used LDFLAGS. So the setuid fusermount missed
the distro's -D_FORTIFY_SOURCE and relro/now link flags, and neither
helper got the release target's -DNDEBUG.
- Use CPPFLAGS in both rules and LDFLAGS in the fusermount one. With
Debian-style flags the helper now links with BIND_NOW.
- c8f32f9f dropped the NDEBUG branch from both Makefiles, so the
static containerfiles and the container image, which run
`make NDEBUG=1 LTO=1 STATIC=1`, built -O0 -g3 with asserts live.
- NDEBUG=1 now selects -O3 -DNDEBUG, matching `make release`, in
mergerfs and vendored libfuse. NDEBUG=0 or unset is unchanged.
Important changes:
- Switch mergerfs and vendored libfuse Makefiles to -std=c++20.
- Select the latest available GCC/G++ or toolset in container builds.
- Verify compiler C++20 support during package installation.
- Fix dynamic SysLog formatting for fmt C++20 checks.