Re: [PATCH 2/2] kbuild: simplify ld-option implementation

2018-02-26 Thread Nick Desaulniers
Nice! Now we don't need to invoke $CC to find out info about linker support. Signed-off-by: Nick Desaulniers Tested-by: Nick Desaulniers On Thu, Feb 22, 2018 at 8:57 PM Masahiro Yamada < yamada.masah...@socionext.com> wrote: > Currently,

Re: [PATCH 2/2] kbuild: simplify ld-option implementation

2018-02-26 Thread Nick Desaulniers
Nice! Now we don't need to invoke $CC to find out info about linker support. Signed-off-by: Nick Desaulniers Tested-by: Nick Desaulniers On Thu, Feb 22, 2018 at 8:57 PM Masahiro Yamada < yamada.masah...@socionext.com> wrote: > Currently, linker options are tested by the coordination of $(CC)

[PATCH 2/2] kbuild: simplify ld-option implementation

2018-02-22 Thread Masahiro Yamada
Currently, linker options are tested by the coordination of $(CC) and $(LD) because LD needs some object to link. As commit 86a9df597cdd ("kbuild: fix linker feature test macros when cross compiling with Clang") addressed, we need to make sure $(CC) and $(LD) agree the underlying architecture of

[PATCH 2/2] kbuild: simplify ld-option implementation

2018-02-22 Thread Masahiro Yamada
Currently, linker options are tested by the coordination of $(CC) and $(LD) because LD needs some object to link. As commit 86a9df597cdd ("kbuild: fix linker feature test macros when cross compiling with Clang") addressed, we need to make sure $(CC) and $(LD) agree the underlying architecture of