objtool: Support HOSTCFLAGS and HOSTLDFLAGS
authorLaura Abbott <labbott@redhat.com>
Thu, 12 Apr 2018 19:21:54 +0000 (14:21 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Apr 2018 05:59:42 +0000 (07:59 +0200)
commit596a9f6768af58d7034f6ebe559a0d489ae61467
tree3b133019b66f182144abf2ca6a80c20e8b310f57
parenta27fc14219f2e3c4a46ba9177b04d9b52c875532
objtool: Support HOSTCFLAGS and HOSTLDFLAGS

It may be useful to compile host programs with different flags (e.g.
hardening). Ensure that objtool picks up the appropriate flags.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kbuild@vger.kernel.org
Link: http://lkml.kernel.org/r/05a360681176f1423cb2fde8faae3a0a0261afc5.1523560825.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/Makefile