gcc-6: don't ship info pages
[unleashed-userland.git] / components / runtime / openjdk-7 / patches / patch-hotspot_make_solaris_makefiles_saproc.make.patch
blobeed134319a478964bcc6db05d428bee2bc5336ad
1 $NetBSD: patch-hotspot_make_solaris_makefiles_saproc.make,v 1.1 2013/06/15 09:31:05 jperkin Exp $
3 Only use libdemangle for Sun Studio builds.
5 --- hotspot/make/solaris/makefiles/saproc.make.orig 2013-02-19 23:21:59.000000000 +0000
6 +++ hotspot/make/solaris/makefiles/saproc.make
7 @@ -61,6 +61,7 @@ ifdef USE_GCC
8 SA_LFLAGS += -D_REENTRANT
9 else
10 SA_LFLAGS += -mt -xnolib -norunpath
11 +LIBDEMANGLE = -ldemangle
12 endif
14 # The libproc Pstack_iter() interface changed in Nevada-B159.
15 @@ -106,7 +107,7 @@ $(LIBSAPROC): $(ADD_GNU_DEBUGLINK) $(FIX
16 $(SASRCFILES) \
17 $(SA_LFLAGS) \
18 -o $@ \
19 - -ldl -ldemangle -lthread -lc
20 + -ldl ${LIBDEMANGLE} -lthread -lc
21 [ -f $(LIBSAPROC_G) ] || { ln -s $@ $(LIBSAPROC_G); }
22 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
23 # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.