patches/gcc/4.3.5/260-uclibc-conf-noupstream.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 1461 35b30f8fb307
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
     1 Original patch from: ../4.3.2/260-uclibc-conf-noupstream.patch
     2 
     3 -= BEGIN original header =-
     4 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_103-uclibc-conf-noupstream.patch
     5 -= END original header =-
     6 
     7 diff -durN gcc-4.3.3.orig/gcc/config.gcc gcc-4.3.3/gcc/config.gcc
     8 --- gcc-4.3.3.orig/gcc/config.gcc	2009-01-27 22:19:34.000000000 +0100
     9 +++ gcc-4.3.3/gcc/config.gcc	2009-01-27 22:25:35.000000000 +0100
    10 @@ -2146,7 +2146,7 @@
    11          ;;
    12  sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
    13  sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
    14 -  sh-*-linux* | sh[346lbe]*-*-linux* | \
    15 +  sh*-*-linux* | sh[346lbe]*-*-linux* | \
    16    sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
    17     sh64-*-netbsd* | sh64l*-*-netbsd*)
    18  	tmake_file="${tmake_file} sh/t-sh sh/t-elf"