summaryrefslogtreecommitdiff
path: root/package/ant/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-19 20:37:40 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-19 20:37:40 +0200
commit994d223d84ab730be203fb04ad99bbddeeebc0a4 (patch)
tree92985dedf549b5df3474a08e4c92a1c8e3ece4eb /package/ant/Makefile
parent0dbe368590d6034e2f8dfce506e3609cb9a4f961 (diff)
parentc5292d3297b14183b9bdb9f64aa6f40e35ad733b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ant/Makefile')
-rw-r--r--package/ant/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/ant/Makefile b/package/ant/Makefile
index a1cfbd567..35094fd2b 100644
--- a/package/ant/Makefile
+++ b/package/ant/Makefile
@@ -29,10 +29,12 @@ host-build:
cd $(WRKBUILD)/lib/optional; wget http://openadk.org/distfiles/junit-4.9b2.jar; \
fi
cp $(DL_DIR)/ecj*.jar $(WRKBUILD)/lib/optional/ecj.jar
- cd ${WRKBUILD}; export BOOTJAVAC_OPTS="-bootclasspath $(STAGING_HOST_DIR)/usr/share/classpath/glibj.zip" \
- LD_LIBRARY_PATH=$(STAGING_HOST_DIR)/usr/lib:$(STAGING_HOST_DIR)/usr/lib64 \
- JAVA_HOME=$(STAGING_HOST_DIR)/usr/lib/jvm ; \
- $(BASH) build.sh
+ (cd ${WRKBUILD}; \
+ export JAVA_HOME=$(STAGING_HOST_DIR)/usr/lib/jvm ;\
+ export CLASSPATH=$(STAGING_HOST_DIR)/usr/lib/jvm/lib/tools.jar ;\
+ export JAVAC=$(STAGING_HOST_DIR)/usr/bin/ecj ;\
+ export JAVACMD=$(STAGING_HOST_DIR)/usr/bin/gij ;\
+ $(BASH) ./build.sh)
ant-hostinstall:
cd $(WRKBUILD)/dist; \