Skip to content

Commit 30e08c7

Browse files
authored
Merge pull request #339 from kraj/kraj/odroidc2-3.14.y
arm64: errata: Add -mpc-relative-literal-loads to build flags
2 parents 3ac892e + 1c72b73 commit 30e08c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ KBUILD_DEFCONFIG := defconfig
2121

2222
KBUILD_CFLAGS += -mgeneral-regs-only
2323
KBUILD_CFLAGS += -fno-pic
24+
KBUILD_CFLAGS += $(call cc-option, -mpc-relative-literal-loads)
2425
ifeq ($(CONFIG_CPU_BIG_ENDIAN), y)
2526
KBUILD_CPPFLAGS += -mbig-endian
2627
AS += -EB

0 commit comments

Comments
 (0)