diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-12-16 18:28:49 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-12-16 18:28:49 +0000 |
commit | c7823a481158d780ddfd3fc6a54f9fdcdb783bef (patch) | |
tree | 8dd6c000bef8bba906c74137707d9f221fd82182 | |
parent | c08b22e3973a3a9797287e468572c2272c3ded82 (diff) | |
download | nspr-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-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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" |