Explorar el Código

openjdk8: we need always to link to math library

Waldemar Brodkorb hace 10 años
padre
commit
c8104abfed
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      package/openjdk8/Makefile

+ 2 - 1
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