diff --git a/nsprpub/configure b/nsprpub/configure index 140c1e61d7f..c7283bba97f 100755 --- a/nsprpub/configure +++ b/nsprpub/configure @@ -4681,10 +4681,10 @@ EOF if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then GCC_USE_GNU_LD=1 fi - DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs' + DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore' else DSO_CFLAGS=-KPIC - DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs' + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore' fi if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -Wall" diff --git a/nsprpub/configure.in b/nsprpub/configure.in index 1c5f415d68d..eb2bb836aa0 100644 --- a/nsprpub/configure.in +++ b/nsprpub/configure.in @@ -1876,10 +1876,10 @@ mips-sony-newsos*) if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then GCC_USE_GNU_LD=1 fi - DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs' + DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore' else DSO_CFLAGS=-KPIC - DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs' + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore' fi if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -Wall"