summaryrefslogtreecommitdiff
path: root/package/gcj
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-13 09:11:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-13 09:11:48 +0100
commit607c3fcd1d10a37c077c870df450b5389fb519bf (patch)
tree9c7c0e209d6373efe2296e379c63c29d27a8847b /package/gcj
parentc16eb800d935d903d2ab38b3da8270324284e973 (diff)
parentf42fb988bae9d402b0b204614b54ba9b4261d877 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcj')
-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