Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=be977ba4d092bc0d84b06a70d45c1ed6e7475795
commit be977ba4d092bc0d84b06a70d45c1ed6e7475795 Author: Michel Hermier <[EMAIL PROTECTED]> Date: Tue Aug 19 17:43:26 2008 +0200 java.sh * Use the newly introduced Fexec. diff --git a/source/include/java.sh b/source/include/java.sh index f3e82f2..075e980 100644 --- a/source/include/java.sh +++ b/source/include/java.sh @@ -84,8 +84,8 @@ Fgcj() if [ ! -d "`dirname $output`" ]; then mkdir -p "`dirname $output`" || Fdie fi - echo "gcj ${CFLAGS/O2/O0} ${_F_java_cflags/-fPIC } $_F_java_ldflags --main=$main -o $output $@" - gcj ${CFLAGS/O2/O0} ${_F_java_cflags/-fPIC } $_F_java_ldflags --main=$main -o $output $@ || Fdie + Fexec gcj ${CFLAGS/O2/O0} ${_F_java_cflags/-fPIC } $_F_java_ldflags \ + --main=$main -o $output $@ || Fdie } ### @@ -99,8 +99,8 @@ Fgcjshared() if [ ! -d "`dirname $output`" ]; then mkdir -p "`dirname $output`" || Fdie fi - echo "gcj -shared ${CFLAGS/O2/O0} $_F_java_cflags $_F_java_ldflags -o $output $@" - gcj -shared ${CFLAGS/O2/O0} $_F_java_cflags $_F_java_ldflags -o $output $@ || Fdie + Fexec gcj -shared ${CFLAGS/O2/O0} $_F_java_cflags $_F_java_ldflags \ + -o $output $@ || Fdie } ### _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git