mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
25 lines
640 B
Diff
25 lines
640 B
Diff
|
From 9c89cd2d47daeb945a2d7ca844d317b8a640de59 Mon Sep 17 00:00:00 2001
|
||
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
Date: Thu, 26 May 2016 06:29:07 -0600
|
||
|
Subject: [PATCH 8/9] 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 b7da5c3..5e27fa3 100644
|
||
|
--- a/arch/arm64/Makefile
|
||
|
+++ b/arch/arm64/Makefile
|
||
|
@@ -35,6 +35,7 @@ CHECKFLAGS += -D__aarch64__
|
||
|
|
||
|
ifeq ($(CONFIG_ARM64_ERRATUM_843419), y)
|
||
|
CFLAGS_MODULE += -mcmodel=large
|
||
|
+CFLAGS_MODULE += $(call cc-option, -mpc-relative-literal-loads)
|
||
|
endif
|
||
|
|
||
|
# Default value
|
||
|
--
|
||
|
2.10.2
|
||
|
|