wok-current rev 11806

sdcc: fix cp -u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 16:25:09 2012 +0100 (2012-02-25)
parents d5acb4e6cacf
children f4d97faab66d
files sdcc/receipt
line diff
     1.1 --- a/sdcc/receipt	Sat Feb 25 15:23:16 2012 +0100
     1.2 +++ b/sdcc/receipt	Sat Feb 25 16:25:09 2012 +0100
     1.3 @@ -16,6 +16,8 @@
     1.4  {
     1.5  	mv $PACKAGE $src 2> /dev/null
     1.6  	cd $src
     1.7 +	sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
     1.8 +	sed -i 's/ -u$//' device/lib/Makefile*
     1.9  	sed -i '1i\#include <stdio.h>' sim/ucsim/cmd.src/cmdlex.cc
    1.10  	sed -i 's/all %/%/' device/lib/pic/Makefile.in
    1.11  	find -name getline.h | xargs sed -i \