This ensures that we don't turn on _FORTIFY_SOURCE when the user turns off optimizations via CFLAGS env variable. See patch 2 for the full details.
Daniel P. Berrangé (2): configure: support passthrough of -Dxxx args to meson osdep: set _FORTIFY_SOURCE=2 when optimization is enabled configure | 2 ++ include/qemu/osdep.h | 4 ++++ meson.build | 10 ---------- util/coroutine-sigaltstack.c | 4 ++-- util/coroutine-ucontext.c | 4 ++-- 5 files changed, 10 insertions(+), 14 deletions(-) -- 2.41.0