patches/gcc/4.3.2/170-libiberty-pic.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 04 15:59:31 2012 +1000 (2012-10-04)
changeset 3073 a6981147ccc0
parent 747 d3e603e7c17c
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
     1 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch
     2 diff -durN gcc-4.3.1.orig/libiberty/Makefile.in gcc-4.3.1/libiberty/Makefile.in
     3 --- gcc-4.3.1.orig/libiberty/Makefile.in	2007-07-25 08:26:45.000000000 +0200
     4 +++ gcc-4.3.1/libiberty/Makefile.in	2008-06-10 14:58:02.000000000 +0200
     5 @@ -225,6 +225,7 @@
     6  	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
     7  	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
     8  	  $(RANLIB) $(TARGETLIB); \
     9 +	  cp $(TARGETLIB) ../ ; \
    10  	  cd ..; \
    11  	else true; fi
    12