Skip to contentSkip to conversation

Improve _FORTIFY_SOURCE robustness

PATCH New Daniel P. Berrangé 1 participant 2 messages Sep 22, 2023

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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.

---
 configure | 2 ++
 1 file changed, 2 insertions(+)
configure +2 -0
index e08127045d..cbd7e03e9f 100755
@@ -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