patches/binutils/2.17/200-cross-gprof.patch
author Bart vdr. Meulen <bartvdrmeulen@gmail.com>
Mon Jul 19 23:16:02 2010 +0200 (2010-07-19)
changeset 2031 3917f2dafed1
parent 56 07a6a48962b7
permissions -rw-r--r--
complibs: fix using static companion libraries

When building a cross-compiler for a target which uses a file extension for
binaries the symbolic link to cc is not created correctly because the lookup
of the gcc binary is done in a incorrect path

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
yann@56
     1
--- binutils-2.17/configure.old	2004-07-21 21:36:47.000000000 -0700
yann@56
     2
+++ binutils-2.17/configure	2004-07-21 21:37:08.000000000 -0700
yann@56
     3
@@ -1022,7 +1022,7 @@
yann@56
     4
 
yann@56
     5
 # Some tools are only suitable for building in a "native" situation.
yann@56
     6
 # Remove these if host!=target.  
yann@56
     7
-native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
     8
+native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
     9
 
yann@56
    10
 # Similarly, some are only suitable for cross toolchains.
yann@56
    11
 # Remove these if host=target.
yann@56
    12
--- binutils-2.17/configure.in.old	2004-07-21 21:37:19.000000000 -0700
yann@56
    13
+++ binutils-2.17/configure.in	2004-07-21 21:37:34.000000000 -0700
yann@56
    14
@@ -227,7 +227,7 @@
yann@56
    15
 
yann@56
    16
 # Some tools are only suitable for building in a "native" situation.
yann@56
    17
 # Remove these if host!=target.  
yann@56
    18
-native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
    19
+native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
    20
 
yann@56
    21
 # Similarly, some are only suitable for cross toolchains.
yann@56
    22
 # Remove these if host=target.