summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc3-java/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc3-java/Makefile b/lang/gcc3-java/Makefile
index cf663f3e5e0..54325ba13e2 100644
--- a/lang/gcc3-java/Makefile
+++ b/lang/gcc3-java/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/09/07 03:23:16 dholland Exp $
+# $NetBSD: Makefile,v 1.26 2008/09/07 05:12:58 dholland Exp $
PKGNAME= gcc3${GCC3_PKGMODIF}-java-${GCC_VERSION}
COMMENT= GNU Compiler Collection, v3 - Java compiler
@@ -31,8 +31,9 @@ REPLACE_FILES.awk+= libjava/addr2name.awk
do-build:
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} java
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ GCC_FOR_TARGET=gcc \
${GMAKE} configure-target-libjava
- [ -f ${WRKSRC}/libjava/Makefile ] || ${FALSE}
+ [ -f ${WRKSRC}/${GCC_PLATFORM}/libjava/Makefile ] || ${FALSE}
${ULIMIT_CMD_datasize}; cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${GMAKE} all-target-libjava