patches/binutils/2.20/230-libiberty-pic.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 09 16:05:01 2010 +0100 (2010-01-09)
changeset 1719 5c0d326c2cea
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
libc/glibc: correctly handle dual-bitness archs

If the selected ARCH is dual-bitness (eg. supports 32- and 64-bit),
then we need to know the correct place where to fetch some headers.
Currently, this applies only to x86 variants: i386 and x86_64.
     1 --- binutils/libiberty/Makefile.in.mps	2004-05-13 15:53:17.000000000 +0200
     2 +++ binutils/libiberty/Makefile.in	2004-05-13 15:52:53.000000000 +0200
     3 @@ -224,6 +224,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA
     4  	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
     5  	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
     6  	  $(RANLIB) $(TARGETLIB); \
     7 +	  cp $(TARGETLIB) ../ ; \
     8  	  cd ..; \
     9  	else true; fi
    10