patches/gcc/4.4.4/220-libiberty-pic.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 17 18:30:09 2010 +0200 (2010-06-17)
changeset 1990 c12158f27395
child 2148 ada9128c98b8
permissions -rw-r--r--
kernel/linux: allow headers from full custom source tree

Accept a local tarball name as the source of the Linux kernel headers,
rather than forcing the user to use either an upstream tarball, or a
local pre-installed headers tree.
     1 diff -durN gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in
     2 
     3 diff -durN gcc-4.4.4.orig/libiberty/Makefile.in gcc-4.4.4/libiberty/Makefile.in
     4 --- gcc-4.4.4.orig/libiberty/Makefile.in	2008-10-22 15:30:19.000000000 +0200
     5 +++ gcc-4.4.4/libiberty/Makefile.in	2010-05-16 19:13:20.000000000 +0200
     6 @@ -227,6 +227,7 @@
     7  	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
     8  	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
     9  	  $(RANLIB) $(TARGETLIB); \
    10 +	  cp $(TARGETLIB) ../ ; \
    11  	  cd ..; \
    12  	else true; fi
    13