summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-01-25 20:48:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-01-25 20:48:12 +0100
commitc8104abfed024cd1d90e70c0a23a8be862d78856 (patch)
treef2973e7fc9807b4099aa66344700338a793a27e3
parent585d97efd5d799ec3e537d9141b972158e252d1b (diff)
openjdk8: we need always to link to math library
-rw-r--r--package/openjdk8/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/openjdk8/Makefile b/package/openjdk8/Makefile
index 5b482fee1..66b82d7a4 100644
--- a/package/openjdk8/Makefile
+++ b/package/openjdk8/Makefile
@@ -35,10 +35,11 @@ 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 -lm
+TARGET_LDFLAGS+= -liconv
endif
endif