wok-6.x rev 9171

tcc: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 08 17:23:59 2011 +0100 (2011-03-08)
parents b3ad80f72858
children ca0901691a7a
files tcc/receipt
line diff
     1.1 --- a/tcc/receipt	Tue Mar 08 15:33:41 2011 +0000
     1.2 +++ b/tcc/receipt	Tue Mar 08 17:23:59 2011 +0100
     1.3 @@ -21,6 +21,8 @@
     1.4  		touch done.Makefile.u
     1.5  	fi
     1.6  	sed -i 's/cp -u/cp/' tests/Makefile
     1.7 +	sed -i 's, tcctest.gcc .*, tcctest.gcc $< -I. -w $(shell echo $(CFLAGS) | sed "/-O2//"),' \
     1.8 +		tests/Makefile
     1.9  	./configure --prefix=/usr --enable-cross $CONFIGURE_ARGS &&
    1.10  	make &&
    1.11  	make test &&