qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 4/7] configure: Always detect -no-pie toolchain support


From: Richard Henderson
Subject: Re: [PATCH v2 4/7] configure: Always detect -no-pie toolchain support
Date: Wed, 8 Jan 2020 10:45:40 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

On 1/7/20 11:16 PM, Alex Bennée wrote:
> 
> Richard Henderson <address@hidden> writes:
> 
>> The CFLAGS_NOPIE and LDFLAGS_NOPIE variables are used
>> in pc-bios/optionrom/Makefile, which has nothing to do
>> with the PIE setting of the main qemu executables.
>>
>> This overrides any operating system default to build
>> all executables as PIE, which is important for ROMs.
> 
> But if the compiler doesn't support no-pie it just keeps going on.
> Should the sub-build be bailing if _NOPIE is empty?

If the compiler doesn't support no-pie, we assume that pie isn't default, and
so no arguments are required.


r~



reply via email to

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