[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 17/34] configure: move Windows flags detection to meson
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 17/34] configure: move Windows flags detection to meson |
Date: |
Wed, 20 Apr 2022 21:15:07 +0200 |
Il 20 aprile 2022 20:20:20 CEST, "Marc-André Lureau"
<marcandre.lureau@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
>>
>>
>>
>>
>
- Re: [PATCH 03/34] qga: wixl: get path to sysroot from pkg-config as intended, (continued)
- [PATCH 04/34] configure: pc-bios/qemu-icon.bmp does not exist, Paolo Bonzini, 2022/04/20
- [PATCH 05/34] configure: gcov should not exclude fortify-source, Paolo Bonzini, 2022/04/20
- [PATCH 16/34] configure, meson: move iasl detection to meson, Paolo Bonzini, 2022/04/20
- [PATCH 17/34] configure: move Windows flags detection to meson, Paolo Bonzini, 2022/04/20
- [PATCH 19/34] meson, configure: move --tls-priority to meson, Paolo Bonzini, 2022/04/20
- [PATCH 06/34] configure: move --enable/--disable-debug-info to second option parsing pass, Paolo Bonzini, 2022/04/20
- [PATCH 09/34] meson, configure: move keyctl test to meson, Paolo Bonzini, 2022/04/20
- [PATCH 10/34] meson, configure: move usbfs test to meson, Paolo Bonzini, 2022/04/20
- [PATCH 08/34] meson, configure: move RDMA options to meson, Paolo Bonzini, 2022/04/20