"Fossies" - the Fresh Open Source Software Archive

Member "electron-4.2.12/patches/mips64el/chromium/Add-mips64el-redhat-linux-to-gcc_toolchain-for-mips6.patch" (16 Oct 2019, 948 Bytes) of package /linux/www/electron-4.2.12.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From c225042994cebe5717013bde26bbad757fefaa17 Mon Sep 17 00:00:00 2001
    2 From: Wang Qing <wangqing-hf@loongson.cn>
    3 Date: Thu, 28 Sep 2017 14:24:17 +0800
    4 Subject: [PATCH] Add mips64el-redhat-linux- to gcc_toolchain for mips64el
    5  cross compile on x64.
    6 
    7 ---
    8  build/toolchain/linux/BUILD.gn | 10 +++++-----
    9  1 file changed, 5 insertions(+), 5 deletions(-)
   10 
   11 diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn
   12 index bd37707..2fbc4d6e 100644
   13 --- a/build/toolchain/linux/BUILD.gn
   14 +++ b/build/toolchain/linux/BUILD.gn
   15 @@ -172,12 +172,12 @@ gcc_toolchain("mipsel") {
   16  }
   17  
   18  gcc_toolchain("mips64el") {
   19 -  cc = "gcc"
   20 -  cxx = "g++"
   21 -  ar = "ar"
   22 +  cc = "mips64el-loongson-linux-gcc"
   23 +  cxx = "mips64el-loongson-linux-g++"
   24 +  ar = "mips64el-loongson-linux-ar"
   25    ld = cxx
   26 -  readelf = "readelf"
   27 -  nm = "nm"
   28 +  readelf = "mips64el-loongson-linux-readelf"
   29 +  nm = "mips64el-loongson-linux-nm"
   30  
   31    toolchain_args = {
   32      cc_wrapper = ""