diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2011-04-02 13:58:10 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-02 17:44:44 +0200 |
commit | ca1f81baa087bd0003db4d9417cef1bc849c5c5d (patch) | |
tree | 45ad80d0254ee4385188fd24f17f2404cedf6d17 /jtools/gcj | |
parent | 10a925546005b9fdce4e660d62004782a0067461 (diff) |
unbreak build on the Macintosh by specifying explicit fastjar location
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'jtools/gcj')
-rw-r--r-- | jtools/gcj/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
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 $@ |