summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/Makefile')
-rw-r--r--arch/blackfin/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index d80421c7b30..4a208f30f5c 100644
--- a/arch/blackfin/Makefile
+++ b/arch/blackfin/Makefile
@@ -12,6 +12,8 @@ LDFLAGS_vmlinux := -X
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
GZFLAGS := -9
+CFLAGS += $(call cc-option,-mno-fdpic)
+AFLAGS += $(call cc-option,-mno-fdpic)
CFLAGS_MODULE += -mlong-calls
KALLSYMS += --symbol-prefix=_