1 $NetBSD: patch-hotspot_make_solaris_makefiles_vm.make,v 1.1 2015/07/03 20:40:59 fhajny Exp $
5 --- hotspot/make/solaris/makefiles/vm.make.orig 2015-02-02 15:32:37.000000000 +0000
6 +++ hotspot/make/solaris/makefiles/vm.make
7 @@ -59,7 +59,11 @@ INCLUDES += $(Src_Dirs_I:%=-I%)
8 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
9 # always build with debug info when we can create .debuginfo files
10 # and disable 'lazy debug info' so the .so has everything.
18 ifeq (${VERSION}, debug)
20 @@ -271,16 +275,19 @@ ifeq ($(LINK_INTO),AOUT)
23 LIBJVM.o = $(JVM_OBJ_FILES)
24 - LIBJVM_MAPFILE$(LDNOMAP) = mapfile_extended
25 - LFLAGS_VM$(LDNOMAP) += $(MAPFLAG:FILENAME=$(LIBJVM_MAPFILE))
26 LFLAGS_VM += $(SONAMEFLAG:SONAME=$(LIBJVM))
29 + LIBJVM_MAPFILE$(LDNOMAP) = mapfile_extended
30 + LFLAGS_VM$(LDNOMAP) += $(MAPFLAG:FILENAME=$(LIBJVM_MAPFILE))
32 # JVM is statically linked with libgcc[_s] and libstdc++; this is needed to
33 # get around library dependency and compatibility issues. Must use gcc not
35 LFLAGS_VM += $(STATIC_LIBGCC)
36 + ifeq ($(BUILDARCH),i486)
37 + LFLAGS_VM += -mimpure-text
39 LIBS_VM += $(STATIC_STDCXX) $(LIBS)