]> asedeno.scripts.mit.edu Git - linux.git/commit
kbuild: use HOSTLDFLAGS for single .c executables
authorRobin Jarry <robin.jarry@6wind.com>
Mon, 26 Feb 2018 18:41:47 +0000 (19:41 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 7 Apr 2018 10:04:02 +0000 (19:04 +0900)
commit63185b46cdb36905d585c73cc4730fec44cdf55d
tree24159f762a5b292e0e61b117d4906df4731a90c8
parentf605ba97fb80522656c7dce9825a908f1e765b57
kbuild: use HOSTLDFLAGS for single .c executables

When compiling executables from a single .c file, the linker is also
invoked. Pass the HOSTLDFLAGS like for other linker commands.

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.host