Il 20 aprile 2022 20:20:20 CEST, "Marc-André Lureau" <marcandre.lur...@gmail.com> ha scritto: >> + # Disable ASLR for debug builds to allow debugging with gdb >> + if get_option('optimization') == 0 > > >../meson.build:188:5: ERROR: The `==` operator of str does not accept >objects of type int (0) > >Why not check 'debug' ? In Meson, -Ddebug governs whether debug info is included. In configure, --enable-debug disables optimization (and is a string apparently rather than an int...). Paolo > > >> + qemu_ldflags += cc.get_supported_link_arguments('-Wl,--dynamicbase') >> + endif >> +endif >> + >> if get_option('gprof') >> qemu_cflags += ['-p'] >> qemu_cxxflags += ['-p'] >> -- >> 2.35.1 >> >> >> >> >
- [PATCH 13/34] meson, configure: move --enable-module-up... Paolo Bonzini
- Re: [PATCH 13/34] meson, configure: move --enable-... Marc-André Lureau
- [PATCH 08/34] meson, configure: move RDMA options to me... Paolo Bonzini
- Re: [PATCH 08/34] meson, configure: move RDMA opti... Marc-André Lureau
- [PATCH 15/34] meson-buildoptions: add support for strin... Paolo Bonzini
- Re: [PATCH 15/34] meson-buildoptions: add support ... Marc-André Lureau
- [PATCH 20/34] meson, configure: move bdrv whitelists to... Paolo Bonzini
- Re: [PATCH 20/34] meson, configure: move bdrv whit... Marc-André Lureau
- [PATCH 17/34] configure: move Windows flags detection t... Paolo Bonzini
- Re: [PATCH 17/34] configure: move Windows flags de... Marc-André Lureau
- Re: [PATCH 17/34] configure: move Windows flag... Paolo Bonzini
- [PATCH 25/34] meson: pass more options directly as -D Paolo Bonzini
- Re: [PATCH 25/34] meson: pass more options directl... Marc-André Lureau
- [PATCH 12/34] meson: move CONFIG_XEN_PCI_PASSTHROUGH to... Paolo Bonzini
- Re: [PATCH 12/34] meson: move CONFIG_XEN_PCI_PASST... Marc-André Lureau
- [PATCH 18/34] configure: switch string options to autom... Paolo Bonzini
- Re: [PATCH 18/34] configure: switch string options... Marc-André Lureau
- [PATCH 34/34] configure, meson: move vhost options to M... Paolo Bonzini
- Re: [PATCH 34/34] configure, meson: move vhost opt... Marc-André Lureau
- [PATCH 21/34] meson, configure: move --with-pkgversion,... Paolo Bonzini
- Re: [PATCH 21/34] meson, configure: move --with-pk... Marc-André Lureau