1 --- a/arch/ubicom32/Makefile
2 +++ b/arch/ubicom32/Makefile
3 @@ -54,8 +54,8 @@ CFLAGS_MODULE += -mno-fastcall
5 # Some CFLAG additions based on specific CPU type.
7 -cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -DIP5000
8 -cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -DIP7000
9 +cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -mno-fdpic -DIP5000
10 +cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -mno-fdpic -DIP7000
12 ldflags-$(CONFIG_LINKER_RELAXATION) := --relax
13 LDFLAGS_vmlinux := $(ldflags-y)