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
This commit is contained in:
2
mozilla/nsprpub/configure
vendored
2
mozilla/nsprpub/configure
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user