PKGBUILDs/extra/chromium/0001-ARM-toolchain-fixes.patch

59 lines
1.3 KiB
Diff
Raw Normal View History

2018-03-16 00:03:25 +00:00
From f058ce64e97da474d30dd91064bf3ec42e739b81 Mon Sep 17 00:00:00 2001
2016-10-23 21:55:00 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sun, 23 Oct 2016 10:57:25 -0600
2018-03-16 00:03:25 +00:00
Subject: [PATCH 01/10] ARM toolchain fixes
2016-10-23 21:55:00 +00:00
---
2017-03-11 03:19:04 +00:00
build/toolchain/linux/BUILD.gn | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
2016-10-23 21:55:00 +00:00
diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn
2018-03-16 00:03:25 +00:00
index 4e9ff440d18c..7f528b08c98a 100644
2016-10-23 21:55:00 +00:00
--- a/build/toolchain/linux/BUILD.gn
+++ b/build/toolchain/linux/BUILD.gn
@@ -22,15 +22,13 @@ clang_toolchain("clang_arm64") {
}
2017-03-11 03:19:04 +00:00
gcc_toolchain("arm64") {
- toolprefix = "aarch64-linux-gnu-"
2016-10-23 21:55:00 +00:00
-
- cc = "${toolprefix}gcc"
- cxx = "${toolprefix}g++"
+ cc = "gcc"
+ cxx = "g++"
- ar = "${toolprefix}ar"
+ ar = "ar"
ld = cxx
- readelf = "${toolprefix}readelf"
- nm = "${toolprefix}nm"
+ readelf = "readelf"
+ nm = "nm"
toolchain_args = {
2017-03-11 03:19:04 +00:00
current_cpu = "arm64"
@@ -40,15 +38,13 @@ gcc_toolchain("arm64") {
2016-10-23 21:55:00 +00:00
}
2017-03-11 03:19:04 +00:00
gcc_toolchain("arm") {
- toolprefix = "arm-linux-gnueabihf-"
-
- cc = "${toolprefix}gcc"
- cxx = "${toolprefix}g++"
2016-10-23 21:55:00 +00:00
+ cc = "gcc"
+ cxx = "g++"
2017-03-11 03:19:04 +00:00
- ar = "${toolprefix}ar"
2016-10-23 21:55:00 +00:00
+ ar = "ar"
2017-03-11 03:19:04 +00:00
ld = cxx
- readelf = "${toolprefix}readelf"
- nm = "${toolprefix}nm"
2016-10-23 21:55:00 +00:00
+ readelf = "readelf"
+ nm = "nm"
2017-03-11 03:19:04 +00:00
2016-10-23 21:55:00 +00:00
toolchain_args = {
2017-03-11 03:19:04 +00:00
current_cpu = "arm"
2016-10-23 21:55:00 +00:00
--
2018-03-16 00:03:25 +00:00
2.16.2
2016-10-23 21:55:00 +00:00