qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Improve _FORTIFY_SOURCE robustness
@ 2023-09-22 13:54 Daniel P. Berrangé
  2023-09-22 13:54 ` [PATCH 1/1] configure: support passthrough of -Dxxx args to meson Daniel P. Berrangé
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel P. Berrangé @ 2023-09-22 13:54 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Alex Bennée, Paolo Bonzini,
	Daniel P. Berrangé

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(+)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] configure: support passthrough of -Dxxx args to meson
  2023-09-22 13:54 [PATCH 0/1] Improve _FORTIFY_SOURCE robustness Daniel P. Berrangé
@ 2023-09-22 13:54 ` Daniel P. Berrangé
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrangé @ 2023-09-22 13:54 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Alex Bennée, Paolo Bonzini,
	Daniel P. Berrangé

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é <berrange@redhat.com>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index e08127045d..cbd7e03e9f 100755
--- a/configure
+++ b/configure
@@ -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
-- 
2.41.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-22 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22 13:54 [PATCH 0/1] Improve _FORTIFY_SOURCE robustness Daniel P. Berrangé
2023-09-22 13:54 ` [PATCH 1/1] configure: support passthrough of -Dxxx args to meson Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).