OSDN Git Service

um: link vmlinux with -no-pie
authorThomas Meyer <thomas@m3y3r.de>
Sun, 20 Aug 2017 11:26:04 +0000 (13:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jan 2018 11:06:12 +0000 (12:06 +0100)
commite1e457a49544718928282c56b69af082e1ebe405
tree3d70e20e9263fb9d564070f1d972056e6c27f119
parent04e7c734e33c53ca2f2b8d027d9f7251f12bb206
um: link vmlinux with -no-pie

commit 883354afbc109c57f925ccc19840055193da0cc0 upstream.

Debian's gcc defaults to pie. The global Makefile already defines the -fno-pie option.
Link UML dynamic kernel image also with -no-pie to fix the build.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
Cc: Bernie Innocenti <codewiz@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/um/Makefile