patches/binutils/2.17a/110-arm-eabi-conf.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 55 249c47587aa4
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>
yann@55
     1
diff -dur binutils-2.17.old/configure binutils-2.17/configure
yann@55
     2
--- binutils-2.17.old/configure	2007-05-01 18:26:03.000000000 +0200
yann@55
     3
+++ binutils-2.17/configure	2007-05-01 18:26:06.000000000 +0200
yann@55
     4
@@ -1305,7 +1305,7 @@
yann@55
     5
   arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
yann@55
     6
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@55
     7
     ;;
yann@55
     8
-  arm*-*-linux-gnueabi)
yann@55
     9
+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
yann@55
    10
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@55
    11
     noconfigdirs="$noconfigdirs target-libjava target-libobjc"
yann@55
    12
     ;;
yann@55
    13
diff -dur binutils-2.17.old/configure.in binutils-2.17/configure.in
yann@55
    14
--- binutils-2.17.old/configure.in	2007-05-01 18:26:03.000000000 +0200
yann@55
    15
+++ binutils-2.17/configure.in	2007-05-01 18:26:06.000000000 +0200
yann@55
    16
@@ -497,7 +497,7 @@
yann@55
    17
   arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
yann@55
    18
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@55
    19
     ;;
yann@55
    20
-  arm*-*-linux-gnueabi)
yann@55
    21
+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
yann@55
    22
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@55
    23
     noconfigdirs="$noconfigdirs target-libjava target-libobjc"
yann@55
    24
     ;;