summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index c005ce4..334b879 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -106,6 +106,7 @@ ALL-y += checkarmreloc
# instruction. Relocation is not supported for that case, so disable
# such usage by requiring word relocations.
PLATFORM_CPPFLAGS += $(call cc-option, -mword-relocations)
+PLATFORM_CPPFLAGS += $(call cc-option, -fno-pic)
endif
# limit ourselves to the sections we want in the .bin.