diff options
Diffstat (limited to 'package/openjdk7/Makefile')
-rw-r--r-- | package/openjdk7/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/package/openjdk7/Makefile b/package/openjdk7/Makefile index 1e9572a64..6ed54e3f8 100644 --- a/package/openjdk7/Makefile +++ b/package/openjdk7/Makefile @@ -41,10 +41,13 @@ $(eval $(call PKG_template,OPENJDK7,openjdk7,$(PKG_VERSION)-${PKG_RELEASE},${PKG CONFIG_STYLE:= basic -# uclibc needs -liconv -ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y) +# uclibc with iconv-tiny/libiconv needs -liconv +ifeq ($(ADK_TARGET_LIBC_ICONV),) +ifeq ($(ADK_TARGET_LIB_UCLIBC_NG),y) TARGET_LIBS:= -liconv -lm endif +endif + # for UINTPTR_MAX in stdint.h TARGET_CFLAGS+= -D__STDC_LIMIT_MACROS # segfaults with march=pentium-m/atom @@ -115,6 +118,7 @@ OPENJDK_NATIVE_ENV:= JAVACFLAGS="-cp ${STAGING_HOST_DIR}/usr/share/java/libgcj-$ LD_LIBRARY_PATH=$(STAGING_HOST_DIR)/usr/lib:$(STAGING_HOST_DIR)/usr/lib64 \ BOOTCLASSPATH="$(STAGING_HOST_DIR)/usr/share/jamvm/classes.zip:$(STAGING_HOST_DIR)/usr/share/classpath/glibj.zip" \ FFI_LDFLAGS='$(HOST_LDFLAGS)' \ + OTHER_CPPFLAGS='$(HOST_CPPFLAGS)' \ OTHER_LDFLAGS='$(HOST_LDFLAGS)' \ ALSA_CPPFLAGS='$(HOST_CPPFLAGS)' \ ALT_OPENWIN_HOME='$(STAGING_HOST_DIR)/usr' \ |