mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
58 lines
1.3 KiB
Diff
58 lines
1.3 KiB
Diff
From f058ce64e97da474d30dd91064bf3ec42e739b81 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Sun, 23 Oct 2016 10:57:25 -0600
|
|
Subject: [PATCH 01/10] ARM toolchain fixes
|
|
|
|
---
|
|
build/toolchain/linux/BUILD.gn | 24 ++++++++++--------------
|
|
1 file changed, 10 insertions(+), 14 deletions(-)
|
|
|
|
diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn
|
|
index 4e9ff440d18c..7f528b08c98a 100644
|
|
--- a/build/toolchain/linux/BUILD.gn
|
|
+++ b/build/toolchain/linux/BUILD.gn
|
|
@@ -22,15 +22,13 @@ clang_toolchain("clang_arm64") {
|
|
}
|
|
|
|
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"
|
|
@@ -40,15 +38,13 @@ gcc_toolchain("arm64") {
|
|
}
|
|
|
|
gcc_toolchain("arm") {
|
|
- toolprefix = "arm-linux-gnueabihf-"
|
|
-
|
|
- 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 = "arm"
|
|
--
|
|
2.16.2
|
|
|