patches/binutils/2.20.1/250-arm-eabi-conf.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:26:02 2011 +0200 (2011-08-22)
branch1.12
changeset 2640 e40c55e445b8
parent 1700 eccc37dd1a25
permissions -rw-r--r--
debug/ltrace: Fix HOST_OS and ar

HOST_OS really is the target OS. Allow setting it for configure
via an environment variable.
libltrace.a should have an index:
Allow ar to be set as an environment variable, and generate
an index in this lib.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from f86af11138ea2b2ecd4876d9c6c24f58ba4d68ac)
jocke@1700
     1
diff -u binutils-2.20.orig/configure binutils-2.20/configure
yann@2088
     2
yann@2088
     3
diff -durN binutils-2.20.1.orig/configure binutils-2.20.1/configure
yann@2088
     4
--- binutils-2.20.1.orig/configure	2010-08-17 19:32:07.000000000 +0200
yann@2088
     5
+++ binutils-2.20.1/configure	2010-08-17 19:32:22.000000000 +0200
jocke@1700
     6
@@ -3086,7 +3086,7 @@
jocke@1700
     7
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
jocke@1700
     8
     libgloss_dir=arm
jocke@1700
     9
     ;;
jocke@1700
    10
-  arm*-*-linux-gnueabi)
jocke@1700
    11
+  arm*-*-linux-*gnueabi)
jocke@1700
    12
     noconfigdirs="$noconfigdirs target-qthreads"
jocke@1700
    13
     case ${with_newlib} in
jocke@1700
    14
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
yann@2088
    15
diff -durN binutils-2.20.1.orig/configure.ac binutils-2.20.1/configure.ac
yann@2088
    16
--- binutils-2.20.1.orig/configure.ac	2010-08-17 19:32:07.000000000 +0200
yann@2088
    17
+++ binutils-2.20.1/configure.ac	2010-08-17 19:32:22.000000000 +0200
jocke@1700
    18
@@ -573,7 +573,7 @@
jocke@1700
    19
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
jocke@1700
    20
     libgloss_dir=arm
jocke@1700
    21
     ;;
jocke@1700
    22
-  arm*-*-linux-gnueabi)
jocke@1700
    23
+  arm*-*-linux-*gnueabi)
jocke@1700
    24
     noconfigdirs="$noconfigdirs target-qthreads"
jocke@1700
    25
     case ${with_newlib} in
jocke@1700
    26
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"