{C,CXX}FLAGS
envs are ignored when {c,cpp}_link_args
are specified since Meson 1.8.0
#14640
Labels
Milestone
Describe the bug
Similar to #14533, it seems the
CFLAGS
/CXXFLAGS
environment variables are ignored whenc_link_args
/cpp_link_args
are specified via the CLI since Meson 1.8.0. PR #14566 (included in Meson 1.8.1) does not appear to fix this.To Reproduce
Expected behavior
Additional information
Diff between the successful and failed clang invocation:
(notice the missing
-fsanitize=address
)We could workaround this by avoiding
cpp_link_args
and just use theLDFLAGS
environment variable instead, see:libvips/libvips#4535
System parameters
The text was updated successfully, but these errors were encountered: