summaryrefslogtreecommitdiff
path: root/package/gcj/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcj/Makefile')
-rw-r--r--package/gcj/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/gcj/Makefile b/package/gcj/Makefile
index be7059def..8273f06b2 100644
--- a/package/gcj/Makefile
+++ b/package/gcj/Makefile
@@ -11,9 +11,10 @@ PKG_DESCR:= GNU java compiler
PKG_SECTION:= lang
PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
+PKG_CFLINE_GCJ:= depends on ADK_HOST_ONLY
+
DISTFILES:= gcc-$(PKG_VERSION).tar.bz2
-PKG_ARCH_DEPENDS:= native
WRKDIST= ${WRKDIR}/gcc-${PKG_VERSION}
include $(TOPDIR)/mk/host.mk
@@ -42,8 +43,8 @@ HOST_CONFIGURE_ARGS:= --enable-dependency-tracking \
--disable-bootstrap
post-extract:
- (cd $(DISTDIR); wget -O ecj.jar ftp://sourceware.org/pub/java/ecj-4.9.jar)
- (cd $(WRKBUILD); $(CP) $(DISTDIR)/ecj.jar .)
+ (cd $(DL_DIR); wget -O ecj.jar ftp://sourceware.org/pub/java/ecj-4.9.jar)
+ (cd $(WRKBUILD); $(CP) $(DL_DIR)/ecj.jar .)
include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk