r664 - x86/trunk/packages/binutils

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sat Sep 17 19:52:35 PDT 2005


Author: jhuntwork
Date: 2005-09-17 20:52:35 -0600 (Sat, 17 Sep 2005)
New Revision: 664

Modified:
   x86/trunk/packages/binutils/Makefile
Log:
More fixes to adjusting toolchain section

Modified: x86/trunk/packages/binutils/Makefile
===================================================================
--- x86/trunk/packages/binutils/Makefile	2005-09-18 02:43:05 UTC (rev 663)
+++ x86/trunk/packages/binutils/Makefile	2005-09-18 02:52:35 UTC (rev 664)
@@ -59,9 +59,9 @@
 	@echo 'main(){}' > dummy.c && cc dummy.c && \
 	 readelf -l a.out > .specstest
 	@if ! cat .specstest | grep -q $(WD) ; then cd $(NM)-build && \
-	 make -C ld install && SPECFILE=`dirname $$(gcc -print-libgcc-file-name`/specs && \
+	 make -C ld install && SPECFILE=`dirname $$(gcc -print-libgcc-file-name)`/specs && \
 	 gcc -dumpspecs > $$SPECFILE && \
-         sed 's@ /lib/$(LINKER)@ $(WD)/lib/$(LINKER)@g' \
+         sed 's@ /lib/$(LINKER)@ $(WD)/lib/$(LINKER)@g' && \
 	 $$SPECFILE > tempspecfile && \
          mv -f tempspecfile $$SPECFILE && unset SPECFILE && \
          GCC_INCLUDEDIR=`dirname $$(gcc -print-libgcc-file-name)`/include && \
@@ -119,7 +119,7 @@
 	 make -C ld INSTALL=$(WD)/bin/install install && \
 	 SPECFILE=`dirname $$(gcc -print-libgcc-file-name)`/specs && \
 	 gcc -dumpspecs > $$SPECFILE && \
-	 sed -i 's@^$(WD)/lib/$(LINKER)@/lib/$(LINKER)@g' $$SPECFILE &&
+	 sed -i 's@^$(WD)/lib/$(LINKER)@/lib/$(LINKER)@g' $$SPECFILE && \
 	 unset SPECFILE ; fi
 	@make clean
 	@touch $@




More information about the livecd mailing list