electron/patches/mips64el/chromium/Add-mips64el-redhat-linux-to-gcc_toolchain-for-mips6.patch
Milan Burda d56617e5d0 chore: avoid appending git version to the exported patches (#15389)
* chore: avoid appending git version to the exported patches

* fix no-eol at end of v8 patch
2018-10-26 12:52:59 +05:30

32 lines
948 B
Diff

From c225042994cebe5717013bde26bbad757fefaa17 Mon Sep 17 00:00:00 2001
From: Wang Qing <wangqing-hf@loongson.cn>
Date: Thu, 28 Sep 2017 14:24:17 +0800
Subject: [PATCH] Add mips64el-redhat-linux- to gcc_toolchain for mips64el
cross compile on x64.
---
build/toolchain/linux/BUILD.gn | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn
index bd37707..2fbc4d6e 100644
--- a/build/toolchain/linux/BUILD.gn
+++ b/build/toolchain/linux/BUILD.gn
@@ -172,12 +172,12 @@ gcc_toolchain("mipsel") {
}
gcc_toolchain("mips64el") {
- cc = "gcc"
- cxx = "g++"
- ar = "ar"
+ cc = "mips64el-loongson-linux-gcc"
+ cxx = "mips64el-loongson-linux-g++"
+ ar = "mips64el-loongson-linux-ar"
ld = cxx
- readelf = "readelf"
- nm = "nm"
+ readelf = "mips64el-loongson-linux-readelf"
+ nm = "mips64el-loongson-linux-nm"
toolchain_args = {
cc_wrapper = ""