Re: [PATCH] jump label: pass kbuild_cflags when checking for asm goto support

2017-01-02 Thread Steven Rostedt
On Sun, 1 Jan 2017 15:05:45 -0800 David Lin wrote: > +Cc: Steven Rostedt > +Cc: Will Deacon > > On Fri, Dec 9, 2016 at 4:46 PM, David Lin wrote: > > Some versions of ARM GCC compiler such as Android toolchain throws > > in a '-fpic' flag by default. This causes the gcc-goto check script > > t

Re: [PATCH] jump label: pass kbuild_cflags when checking for asm goto support

2017-01-01 Thread David Lin
+Cc: Steven Rostedt +Cc: Will Deacon On Fri, Dec 9, 2016 at 4:46 PM, David Lin wrote: > Some versions of ARM GCC compiler such as Android toolchain throws in a > '-fpic' flag by default. This causes the gcc-goto check script to fail > although some config would have '-fno-pic' flag in the KBUIL

[PATCH] jump label: pass kbuild_cflags when checking for asm goto support

2016-12-09 Thread David Lin
Some versions of ARM GCC compiler such as Android toolchain throws in a '-fpic' flag by default. This causes the gcc-goto check script to fail although some config would have '-fno-pic' flag in the KBUILD_CFLAGS. This patch passes the KBUILD_CFLAGS to the check script so that the script does not r