From c225042994cebe5717013bde26bbad757fefaa17 Mon Sep 17 00:00:00 2001 From: Wang Qing 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 = ""