wok diff gcc+gcj/receipt @ rev 11708

Up: cookutils (1.6)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 19 12:18:24 2012 +0100 (2012-02-19)
parents 78f6b1f7bdf4
children 73641efed1cc
line diff
     1.1 --- a/gcc+gcj/receipt	Wed May 18 17:57:35 2011 +0200
     1.2 +++ b/gcc+gcj/receipt	Sun Feb 19 12:18:24 2012 +0100
     1.3 @@ -25,11 +25,11 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	# Set BUILD_HOST if not defined in tazwok.conf as it should be
     1.8 -	if [ -z "$BUILD_HOST" ] ; then
     1.9 -		BUILD_HOST="i486-pc-linux-gnu"
    1.10 +	# Set HOST_SYSTEM if not defined in tazwok.conf as it should be
    1.11 +	if [ -z "$HOST_SYSTEM" ] ; then
    1.12 +		HOST_SYSTEM="i486-slitaz-linux"
    1.13  	fi
    1.14 -	GCC_TARGET=$BUILD_HOST
    1.15 +	GCC_TARGET=$HOST_SYSTEM
    1.16  
    1.17  	# Get ecj.jar needed to build gcj. We have to dl it each time from the
    1.18  	# sources repository to ensure that we receive the latest JAR.