Improve _FORTIFY_SOURCE robustness
cover Improve _FORTIFY_SOURCE robustness
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é (1):
configure: support passthrough of -Dxxx args to meson
configure | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
2.41.0
PATCH 1/1 configure: support passthrough of -Dxxx args to meson
This can be useful for setting some meson global options, such as the optimization level or debug state, which don't have an analogous option explicitly defined in QEMU's configure wrapper script.
Signed-off-by Daniel P. Berrangé <[email protected]>
--- configure | 2 ++ 1 file changed, 2 insertions(+)
configure +2 -0
@@ -931,6 +931,8 @@ cat << EOF bsd-user all BSD usermode emulation targets pie Position Independent Executables + -Dmesonoptname=val passthrough option to meson unmodified + NOTE: The object files are built at the place where configure is launched EOF exit 0
Signature · 1 line
2.41.0