diff options
Diffstat (limited to 'arch/xtensa/Makefile')
-rw-r--r-- | arch/xtensa/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index bb5ba61723f7..ab63c9beb930 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile | |||
@@ -49,6 +49,10 @@ KBUILD_CFLAGS += -pipe -mlongcalls | |||
49 | 49 | ||
50 | KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,) | 50 | KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,) |
51 | 51 | ||
52 | ifneq ($(CONFIG_LD_NO_RELAX),) | ||
53 | LDFLAGS := --no-relax | ||
54 | endif | ||
55 | |||
52 | vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) | 56 | vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) |
53 | plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) | 57 | plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) |
54 | 58 | ||