diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-12 20:05:28 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-12 20:05:45 +0200 |
commit | 802c88ba82499584db2b50ad618ac20993c4b4b9 (patch) | |
tree | 4aa3c3a2bdeb167e38f12b4d69f306c431d578e9 | |
parent | a9bd5e78c99a4fb8f53aa6417788b242ac1cc599 (diff) |
openjdk8: optimize package, tested on arm
-rw-r--r-- | package/openjdk8/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/package/openjdk8/Makefile b/package/openjdk8/Makefile index 66b82d7a4..bbc8c4ddb 100644 --- a/package/openjdk8/Makefile +++ b/package/openjdk8/Makefile @@ -18,7 +18,10 @@ PKG_URL:= http://openjdk.org/ PKG_HG:= http://hg.openjdk.java.net/jdk8u/jdk8u PKG_SITES:= ${PKG_HG}/archive/ PKG_NOPARALLEL:= 1 -ICEDTEA_VERSION:= 3.0.0pre07 +ICEDTEA_VERSION:= 3.1.0 + +PKG_HOST_DEPENDS:= linux +PKG_ARCH_DEPENDS:= arm mips ppc x86 x86_64 DISTFILES:= jdk$(PKG_VERSION).tar.bz2 WRKSRC= ${WRKDIST}/openjdk @@ -35,13 +38,7 @@ ifeq ($(ADK_TARGET_CPU_ARCH),x86_64) JDKARCH:= amd64 endif -TARGET_LDFLAGS:= -lm -# uclibc-ng with iconv-tiny/libiconv needs -liconv -ifeq ($(ADK_TARGET_LIBC_ICONV),) -ifeq ($(ADK_TARGET_LIB_UCLIBC_NG),y) -TARGET_LDFLAGS+= -liconv -endif -endif +TARGET_LDFLAGS:= -lm -liconv CONFIG_STYLE:= basic CONFIGURE_ARGS+= --prefix=$(WRKINST)/usr \ @@ -79,6 +76,7 @@ XAKE_FLAGS+= LD=$(TARGET_CC) \ BUILD_CC=$(HOST_CC) \ BUILD_LD=$(HOST_CC) \ WARNINGS_ARE_ERRORS='' \ + JOBS="$(ADK_JOBS)" \ LOG=debug post-extract: |