2021-10-29 15:07:29 +00:00
|
|
|
From 831eeefaebc489ecb64f945cfa62f79771be3bf5 Mon Sep 17 00:00:00 2001
|
2017-06-09 12:23:17 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
2017-07-04 18:33:40 +00:00
|
|
|
Date: Tue, 4 Jul 2017 11:54:39 -0600
|
2022-08-21 03:28:04 +00:00
|
|
|
Subject: [PATCH 1/5] ARM toolchain fixes
|
2017-06-09 12:23:17 +00:00
|
|
|
|
|
|
|
---
|
2017-07-04 18:33:40 +00:00
|
|
|
chromium/build/toolchain/linux/BUILD.gn | 24 ++++++++++--------------
|
|
|
|
1 file changed, 10 insertions(+), 14 deletions(-)
|
2017-06-09 12:23:17 +00:00
|
|
|
|
|
|
|
diff --git a/chromium/build/toolchain/linux/BUILD.gn b/chromium/build/toolchain/linux/BUILD.gn
|
2019-12-22 22:49:11 +00:00
|
|
|
index fa8b17e9db3..7398b7556ec 100644
|
2017-06-09 12:23:17 +00:00
|
|
|
--- a/chromium/build/toolchain/linux/BUILD.gn
|
|
|
|
+++ b/chromium/build/toolchain/linux/BUILD.gn
|
2019-12-22 22:49:11 +00:00
|
|
|
@@ -30,15 +30,13 @@ clang_toolchain("clang_arm64") {
|
2017-07-04 18:33:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
gcc_toolchain("arm64") {
|
|
|
|
- toolprefix = "aarch64-linux-gnu-"
|
|
|
|
-
|
|
|
|
- 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 = {
|
|
|
|
current_cpu = "arm64"
|
2019-12-22 22:49:11 +00:00
|
|
|
@@ -48,15 +46,13 @@ gcc_toolchain("arm64") {
|
2017-06-09 12:23:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
gcc_toolchain("arm") {
|
|
|
|
- toolprefix = "arm-linux-gnueabihf-"
|
2017-07-04 18:33:40 +00:00
|
|
|
-
|
|
|
|
- cc = "${toolprefix}gcc"
|
|
|
|
- cxx = "${toolprefix}g++"
|
|
|
|
+ cc = "gcc"
|
|
|
|
+ cxx = "g++"
|
2017-06-09 12:23:17 +00:00
|
|
|
|
2017-07-04 18:33:40 +00:00
|
|
|
- ar = "${toolprefix}ar"
|
|
|
|
+ ar = "ar"
|
|
|
|
ld = cxx
|
|
|
|
- readelf = "${toolprefix}readelf"
|
|
|
|
- nm = "${toolprefix}nm"
|
|
|
|
+ readelf = "readelf"
|
|
|
|
+ nm = "nm"
|
2017-06-09 12:23:17 +00:00
|
|
|
|
|
|
|
toolchain_args = {
|
2017-07-04 18:33:40 +00:00
|
|
|
current_cpu = "arm"
|
2017-06-09 12:23:17 +00:00
|
|
|
--
|
2022-08-21 03:28:04 +00:00
|
|
|
2.37.0
|
2017-06-09 12:23:17 +00:00
|
|
|
|