From 632edaed3feeb4646afd981c823f990ea138cb3f Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Tue, 7 Jan 2003 20:49:41 +0000 Subject: [PATCH] A temporary fix for the Solaris gcc build. Removed the -z defs linker flag because gcc-compiled objects reference symbols not defined in -lc. The correct fix is to use gcc to build the shared libraries, as we do on Linux. Modified Files: configure.in configure git-svn-id: svn://10.0.0.236/trunk@135940 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/configure | 2 +- mozilla/nsprpub/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/nsprpub/configure b/mozilla/nsprpub/configure index ee61e3cbcc2..1531350af9b 100755 --- a/mozilla/nsprpub/configure +++ b/mozilla/nsprpub/configure @@ -4485,7 +4485,7 @@ EOF fi PR_MD_CSRCS=solaris.c LD=/usr/ccs/bin/ld - DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs' + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc' RESOLVE_LINK_SYMBOLS=1 if test -n "$GNU_CC"; then DSO_CFLAGS=-fPIC diff --git a/mozilla/nsprpub/configure.in b/mozilla/nsprpub/configure.in index cae534267d9..2ade2cf6019 100644 --- a/mozilla/nsprpub/configure.in +++ b/mozilla/nsprpub/configure.in @@ -1634,7 +1634,7 @@ mips-sony-newsos*) fi PR_MD_CSRCS=solaris.c LD=/usr/ccs/bin/ld - DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs' + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc' RESOLVE_LINK_SYMBOLS=1 if test -n "$GNU_CC"; then DSO_CFLAGS=-fPIC