mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-10-29 22:43:48 +00:00
25 lines
649 B
Diff
25 lines
649 B
Diff
|
From 7474934d7294f066a04d258fdcb364bbe3c92a85 Mon Sep 17 00:00:00 2001
|
||
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
Date: Thu, 26 May 2016 06:29:07 -0600
|
||
|
Subject: [PATCH] add extra errata 843419 build flags
|
||
|
|
||
|
---
|
||
|
arch/arm64/Makefile | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
|
||
|
index 18ea69f..59c5e48 100644
|
||
|
--- a/arch/arm64/Makefile
|
||
|
+++ b/arch/arm64/Makefile
|
||
|
@@ -37,6 +37,7 @@ CHECKFLAGS += -D__aarch64__
|
||
|
|
||
|
ifeq ($(CONFIG_ARM64_ERRATUM_843419), y)
|
||
|
KBUILD_CFLAGS_MODULE += -mcmodel=large
|
||
|
+KBUILD_CFLAGS_MODULE += $(call cc-option, -mpc-relative-literal-loads)
|
||
|
endif
|
||
|
|
||
|
# Default value
|
||
|
--
|
||
|
2.7.2
|
||
|
|