From c8104abfed024cd1d90e70c0a23a8be862d78856 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 25 Jan 2016 20:48:04 +0100 Subject: openjdk8: we need always to link to math library --- package/openjdk8/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3