]> git.baikalelectronics.ru Git - kernel.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)
commitb29c11a8ec22fd1ba1805986e1383ab9a3ea6a08
tree24159f762a5b292e0e61b117d4906df4731a90c8
parentba1141ee67db6fa0fd521900cfda15b76f343fb3
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