1 $NetBSD: patch-hotspot_make_solaris_makefiles_saproc.make,v 1.1 2015/07/03 20:40:59 fhajny Exp $
3 Only use libdemangle for Sun Studio builds.
5 --- hotspot/make/solaris/makefiles/saproc.make.orig
6 +++ hotspot/make/solaris/makefiles/saproc.make
8 SA_LFLAGS += -D_REENTRANT
10 SA_LFLAGS += -mt -xnolib -norunpath
11 +LIBDEMANGLE = -ldemangle
14 # The libproc Pstack_iter() interface changed in Nevada-B159.
19 - -ldl -ldemangle -lthread -lc
20 + -ldl ${LIBDEMANGLE} -lthread -lc
22 $(SADISOBJ): $(SADISSRCFILES)