Hi.

2017-11-18 13:09 GMT+09:00 Masahiro Yamada <[email protected]>:
> 2017-11-16 5:42 GMT+09:00 Nick Desaulniers <[email protected]>:
>> From: Chris Fries <[email protected]>
>>
>> Set the clang KBUILD_CFLAGS up before including arch/ Makefiles,
>> so that ld-options (etc.) can work correctly.
>>
>> This fixes errors with clang such as ld-options trying to CC
>> against your host architecture, but LD trying to link against
>> your target architecture.
>>
>> Reviewed-by: Matthias Kaehlcke <[email protected]>
>> Signed-off-by: Chris Fries <[email protected]>
>> Signed-off-by: Nick Desaulniers <[email protected]>
>> Suggested-by: Masahiro Yamada <[email protected]>
>> Tested-by: Matthias Kaehlcke <[email protected]>
>> ---
>
> Applied to linux-kbuild/kbuild.  Thanks!
>
> --
> Best Regards
> Masahiro Yamada

After more thought, I picked up your v2.
(clang variables before kernel configuration)

Linus suggests to move compiler flag testing to Kconfig.
To do it, we need to feed target CC information to Kconfig.

Sorry for spending your time.


-- 
Best Regards
Masahiro Yamada

Reply via email to