diff mbox

greybus: build: Add -fno-pic for 32bit arm as well

Message ID 1414708098-19289-1-git-send-email-john.stultz@linaro.org
State New
Headers show

Commit Message

John Stultz Oct. 30, 2014, 10:28 p.m. UTC
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.

Cc: greg@kroah.com
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
 Android.mk | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/Android.mk b/Android.mk
index 773129b..924099b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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)