wok rev 14235

tcc: fix tcctest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 22 09:20:59 2013 +0100 (2013-03-22)
parents 70d569bf17ed
children 7b0d20d7c0f9
files tcc/receipt
line diff
     1.1 --- a/tcc/receipt	Fri Mar 22 09:04:12 2013 +0100
     1.2 +++ b/tcc/receipt	Fri Mar 22 09:20:59 2013 +0100
     1.3 @@ -30,6 +30,7 @@
     1.4  	sed -i 's/cp -u/cp/' tests/Makefile
     1.5  	sed -i 's, tcctest.gcc .*, tcctest.gcc $< -I. -w $(shell echo $(CFLAGS) | sed "s/-O2//"),' \
     1.6  		tests/Makefile
     1.7 +	sed -i 's/array_test(int.*/array_test()/;s/.*array:.*/int a[4];\n&/' tests/tcctest.c
     1.8  	./configure \
     1.9  		--prefix=/usr \
    1.10  		--enable-cross \