diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-16 16:20:17 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-16 16:20:48 -0500 |
commit | 669e7ea4b5c8a2609b73646bd2d2cea060555531 (patch) | |
tree | 1a9d9e2e8a3f2480a8cc87553300afd68da51310 /package/ant/Makefile | |
parent | 16ef8692b6d565e3f2fb94562204fa928cfd78b6 (diff) |
reduce openjdk build dependencies
Diffstat (limited to 'package/ant/Makefile')
-rw-r--r-- | package/ant/Makefile | 10 |
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; \ |