patches/gcc/4.2.4/110-uclibc-conf-noupstream.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 04 15:59:31 2012 +1000 (2012-10-04)
changeset 3073 a6981147ccc0
parent 687 b2b6b1d46aa1
permissions -rw-r--r--
scripts/gcc: Canadian Cross skip -print-multi-lib log output

Attempting to ${CT_TARGET}-gcc -print-multi-lib will fail

In do_cc_core_backend, for the final compiler in a canadian cross
baremetal, warn that multi-libs cannot be determined

In do_cc_backend, for either final compiler for a canadian cross,
warn that multi-libs cannot be determined

(Plus fixed CT_PREFIX_DIR in do_cc_backend to be ${prefix})

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <CAM=EW8aQDoNx-CkJHjXBoDP4iTDJ8z5hh3=KhO5UTU6rp3Pj=w@mail.gmail.com>
Patchwork-Id: 189053
yann@687
     1
diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
yann@687
     2
--- gcc-4.2.1.orig/gcc/config.gcc	2007-02-03 06:25:20.000000000 +0100
yann@687
     3
+++ gcc-4.2.1/gcc/config.gcc	2007-08-03 20:29:52.000000000 +0200
yann@687
     4
@@ -1964,7 +1964,7 @@
yann@687
     5
         ;;
yann@687
     6
 sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
yann@687
     7
 sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
yann@687
     8
-  sh-*-linux* | sh[346lbe]*-*-linux* | \
yann@687
     9
+  sh*-*-linux* | sh[346lbe]*-*-linux* | \
yann@687
    10
   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
yann@687
    11
    sh64-*-netbsd* | sh64l*-*-netbsd*)
yann@687
    12
 	tmake_file="${tmake_file} sh/t-sh sh/t-elf"