qemu-devel
[Top][All Lists]
Advanced

[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
>>
>>
>>
>>
>




reply via email to

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