在2025年6月2日周一 上午10:36,Gerd Hoffmann写道:
> On Fri, May 30, 2025 at 05:12:18PM +0100, Jiaxun Yang wrote:
>> This is perfered way to get correct LD and AS flags set, as well
>> as preprocessor definitions on cross builds.
>> 
>> Also mandatory for potential clang build.
>
> Any actual improvements given that the clang build does not work?

For cross toolchain configured with different options (in my case x86-64-elf)
toolchain there are many flags needs to be set to get configuration on par
with the default one installed x86 system.

Using CC and COMMONCFLGAS to invoke CPP, LD and AS can get those flags
set automatically.

Thanks

>
> Also this has some changes not mentioned in the commit message, and it
> probably makes sense so split this into smaller pieces (separate LD / AS
> patches, move the "call cc-option" changes to separate patch(es)).
>
> take care,
>   Gerd

-- 
- Jiaxun
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to