qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 04/17] configure: clean up handling of CFI option


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 04/17] configure: clean up handling of CFI option
Date: Mon, 16 Oct 2023 11:22:22 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 16/10/23 08:31, Paolo Bonzini wrote:
Avoid that --enable-cfi --disable-cfi leaves b_lto set to true.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
  configure | 7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)


@@ -1845,6 +1843,7 @@ if test "$skip_meson" = no; then
# QEMU options
    test "$cfi" != false && meson_option_add "-Dcfi=$cfi"
+  test "$cfi" != false && meson_option_add "-Db_lto=$cfi"

Merge as "-Dcfi=$cfi -Db_lto=$cfi"?

    test "$docs" != auto && meson_option_add "-Ddocs=$docs"
    test -n "${LIB_FUZZING_ENGINE+xxx}" && meson_option_add 
"-Dfuzzing_engine=$LIB_FUZZING_ENGINE"
    test "$plugins" = yes && meson_option_add "-Dplugins=true"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]