mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
greybus: build: Add -fno-pic for 32bit arm as well
In order for 32bit arm devices using the android toolchain to load the greybus module, I need to add -fno-pic in the build arguments as well. Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
4b640bb135
commit
2dcf6871dd
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ ifneq ($(ANDROID_64),)
|
|||
FLAGARG := EXTRA_CFLAGS+=-fno-pic
|
||||
else
|
||||
ARCHARG := ARCH=arm
|
||||
FLAGARG := EXTRA_CFLAGS+=-fno-pic
|
||||
endif
|
||||
ARGS := $(KDIRARG) $(ARCHARG) $(FLAGARG)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue