From 2dcf6871dd19a8129929203776c57cddbb07bcc3 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Thu, 30 Oct 2014 15:28:18 -0700 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/greybus/Android.mk b/drivers/staging/greybus/Android.mk index 773129badf62..924099b42c06 100644 --- a/drivers/staging/greybus/Android.mk +++ b/drivers/staging/greybus/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) -- 2.39.5