wok-current rev 15348

icedtea6-jdk: use libgcj
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 30 10:13:19 2013 +0000 (2013-09-30)
parents a9a5db029b18
children 691511385fb8
files icedtea6-jdk/receipt
line diff
     1.1 --- a/icedtea6-jdk/receipt	Mon Sep 30 08:49:08 2013 +0000
     1.2 +++ b/icedtea6-jdk/receipt	Mon Sep 30 10:13:19 2013 +0000
     1.3 @@ -79,6 +79,7 @@
     1.4  EOT
     1.5  	sed -i  -e 's|touch .*|&\n\tsh slitaz.sh|' \
     1.6  		-e 's/--check/-c/' \
     1.7 +		-e 's/Bsymbolic/& -lgcj/' \
     1.8  		-e 's/ln -sfv/ln -sf/' Makefile*
     1.9  	autoreconf &&
    1.10  	{
    1.11 @@ -96,8 +97,7 @@
    1.12  		--with-rhino=/usr/share/java/js.jar \
    1.13  		--with-abs-install-dir=$JVM_PREFIX \
    1.14  		$CONFIGURE_ARGS || return 1
    1.15 -	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgcj"
    1.16 -	make -j 1 ARCH_PREFIX= 2>&1 | sed '/java_lang_ClassLoaderr.NativeLibrary/d;s/ERROR/error/'
    1.17 +	make -j 1 ARCH_PREFIX= 2>&1 | sed '/java_lang_ClassLoaderr.NativeLibrary/d'
    1.18  	} 2>&1 | sed 's/No such file/no such file/'
    1.19  	
    1.20  	echo "Copying needed files to install dir..."