wok diff sdcc/receipt @ rev 13731

sdcc may use gcc 4.6.3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 22 18:06:11 2012 +0100 (2012-12-22)
parents c4289b5fcf5d
children 7896f0694ef6
line diff
     1.1 --- a/sdcc/receipt	Sat Dec 22 17:18:47 2012 +0100
     1.2 +++ b/sdcc/receipt	Sat Dec 22 18:06:11 2012 +0100
     1.3 @@ -9,18 +9,16 @@
     1.4  WEB_SITE="http://sdcc.sourceforge.net/"
     1.5  WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
     1.6  TAGS="cross compiler C 8051 Z80 68HC08 assembler"
     1.7 -BUILD_DEPENDS="flex gcc3 libboost-graph-dev gputils"
     1.8 +BUILD_DEPENDS="flex libboost-graph-dev gputils"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	mv $PACKAGE $src 2> /dev/null
    1.14  	cd $src
    1.15  	sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
    1.16  	sed -i 's/ -u$//' device/lib/Makefile*
    1.17  
    1.18 -	# build hang forever with gcc 4.6.3 for SDCCicode.c
    1.19 -	./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \
    1.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21  	--mandir=/usr/share/man \
    1.22  	$CONFIGURE_ARGS &&
    1.23  	make &&