8200383: Can't build on SPARC Hotspot with code which use math functions
Remove old hack which supports Solaris 8 and 9 Reviewed-by: erikj, ihse
This commit is contained in:
parent
e3d3493329
commit
dea1bcd6e8
make
@ -114,17 +114,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
|
||||
fi
|
||||
|
||||
# Math library
|
||||
if test "x$OPENJDK_TARGET_OS" != xsolaris; then
|
||||
BASIC_JVM_LIBS="$LIBM"
|
||||
else
|
||||
# FIXME: This hard-coded path is not really proper.
|
||||
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
|
||||
BASIC_SOLARIS_LIBM_LIBS="/usr/lib/amd64/libm.so.1"
|
||||
elif test "x$OPENJDK_TARGET_CPU" = xsparcv9; then
|
||||
BASIC_SOLARIS_LIBM_LIBS="/usr/lib/sparcv9/libm.so.1"
|
||||
fi
|
||||
BASIC_JVM_LIBS="$BASIC_SOLARIS_LIBM_LIBS"
|
||||
fi
|
||||
BASIC_JVM_LIBS="$LIBM"
|
||||
|
||||
# Dynamic loading library
|
||||
if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xaix; then
|
||||
|
@ -409,11 +409,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBLCMS, \
|
||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||
LDFLAGS_unix := -L$(INSTALL_LIBRARIES_HERE), \
|
||||
LDFLAGS_solaris := /usr/lib$(OPENJDK_TARGET_CPU_ISADIR)/libm.so.2, \
|
||||
LIBS_unix := -lawt -ljvm -ljava $(LCMS_LIBS), \
|
||||
LIBS_linux := $(LIBM), \
|
||||
LIBS_macosx := $(LIBM), \
|
||||
LIBS_aix := $(LIBM),\
|
||||
LIBS_unix := -lawt -ljvm -ljava $(LCMS_LIBS) $(LIBM), \
|
||||
LIBS_windows := $(WIN_AWT_LIB) $(WIN_JAVA_LIB), \
|
||||
))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user