X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Fsh%2Fconfig.mk;h=71540c8bb2909d06e4e4b6710da6c681e7f65919;hb=da684a646d0c94f7a6126e7ecf110278691465a6;hp=673ed8dfa48a63350ec4682d7b46df7661f33f23;hpb=b26d25072ff83093e136eaac98a906188a22c57e;p=oweals%2Fu-boot.git diff --git a/arch/sh/config.mk b/arch/sh/config.mk index 673ed8dfa4..71540c8bb2 100644 --- a/arch/sh/config.mk +++ b/arch/sh/config.mk @@ -15,5 +15,6 @@ CONFIG_STANDALONE_LOAD_ADDR += -EB endif PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ +PLATFORM_RELFLAGS += -fpic LDFLAGS_FINAL = --gc-sections PLATFORM_RELFLAGS += -ffixed-r13