Hardcoded flags can conflict with CLFAGS set by user
The meson.build file calls add_project_arguments('-fomit-frame-pointer')
which adds the -fomit-frame-pointer
argument. If the user now specifies
-fno-omit-frame-pointer
using CFLAGS
, this results in:
cc -fno-omit-frame-pointer -fomit-frame-pointer
If it is specified using -Dc_args=
instead, it results in:
cc -fomit-frame-pointer -fno-omit-frame-pointer