patches/binutils/2.20/230-libiberty-pic.patch
author Darcy Watkins <dwatkins@tranzeo.com>
Thu Aug 05 18:19:07 2010 +0200 (2010-08-05)
branch1.8
changeset 2073 a3b7a63dce01
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
cc/gcc: with static ppl, correctly link with libm

On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
(transplanted from bcd33fce4db9c18223b59ecdc96f10bf6dd574de)
     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