PKGBUILDs/core/linux-oak/0007-add-extra-errata-843419-build-flags.patch

25 lines
652 B
Diff
Raw Permalink Normal View History

2017-07-21 04:06:40 +00:00
From 61f993ff5da7a98abcd780b239f903efc43684c4 Mon Sep 17 00:00:00 2001
2016-11-13 01:53:28 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 26 May 2016 06:29:07 -0600
2017-07-21 04:06:40 +00:00
Subject: [PATCH 07/13] add extra errata 843419 build flags
2016-11-13 01:53:28 +00:00
---
arch/arm64/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
2017-05-28 02:29:07 +00:00
index b7da5c34aac1..5e27fa3850c8 100644
2016-11-13 01:53:28 +00:00
--- 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
--
2017-07-21 04:06:40 +00:00
2.13.3
2016-11-13 01:53:28 +00:00