From ca1f81baa087bd0003db4d9417cef1bc849c5c5d Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sat, 2 Apr 2011 13:58:10 +0000 Subject: unbreak build on the Macintosh by specifying explicit fastjar location Signed-off-by: Thorsten Glaser --- jtools/gcj/Makefile | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'jtools') diff --git a/jtools/gcj/Makefile b/jtools/gcj/Makefile index 60cf4fca7..873e6c21c 100644 --- a/jtools/gcj/Makefile +++ b/jtools/gcj/Makefile @@ -19,14 +19,22 @@ install: ${STAGING_JAVA_HOST_DIR}/usr/bin/gcj $(WRKBUILD)/.configured: ${WRKDIST}/.prepared (cd $(WRKBUILD); \ wget -O ecj.jar ftp://sourceware.org/pub/java/ecj-latest.jar; \ - ./configure --prefix=/usr --enable-java-home --enable-languages=java --with-ffi \ - --with-mpc=$(STAGING_HOST_DIR) --with-mpfr=$(STAGING_HOST_DIR) \ + export ac_cv_prog_JAR=$(STAGING_JAVA_HOST_DIR)/usr/bin/fastjar; \ + export JAR=$(STAGING_JAVA_HOST_DIR)/usr/bin/fastjar; \ + ./configure \ + --prefix=/usr \ + --enable-java-home \ + --enable-languages=java \ + --with-ffi \ + --with-mpc=$(STAGING_HOST_DIR) \ + --with-mpfr=$(STAGING_HOST_DIR) \ --with-gmp=$(STAGING_HOST_DIR) \ + --with-jar=$(STAGING_JAVA_HOST_DIR)/usr/bin/fastjar \ --disable-libmudflap \ - --disable-libgomp \ - --disable-biarch \ - --disable-decimal-float \ - --disable-multilib \ + --disable-libgomp \ + --disable-biarch \ + --disable-decimal-float \ + --disable-multilib \ --disable-bootstrap \ ); touch $@ -- cgit v1.2.3