summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-12-16 18:28:49 +0000
committerwtchang%redhat.com <devnull@localhost>2005-12-16 18:28:49 +0000
commitc7823a481158d780ddfd3fc6a54f9fdcdb783bef (patch)
tree8dd6c000bef8bba906c74137707d9f221fd82182
parentc08b22e3973a3a9797287e468572c2272c3ded82 (diff)
downloadnspr-hg-c7823a481158d780ddfd3fc6a54f9fdcdb783bef.tar.gz
Bugzilla Bug 316964: use the -z ignore linker flag on Solaris. The patch
is contributed by Boying Lu <brian.lu@sun.com>. r=wtc,sr=benjamin.smedberg. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 140c1e61..c7283bba 100755
--- a/configure
+++ b/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/configure.in b/configure.in
index 1c5f415d..eb2bb836 100644
--- a/configure.in
+++ b/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"