diff options
author | wtc%google.com <devnull@localhost> | 2008-11-04 18:07:16 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-11-04 18:07:16 +0000 |
commit | f430f2afd8813f3b7c86edb6c50ad0508e168f6f (patch) | |
tree | 94be0a7f822ab21f144a968acfc579ba7e482ad3 | |
parent | b2f9982ddb3ea7359a1d3811ee031b7ecb3a9593 (diff) | |
download | nspr-hg-f430f2afd8813f3b7c86edb6c50ad0508e168f6f.tar.gz |
Bug 461502: backed out the -Bdirect linker flag added for bug 451476NSPR_4_7_3_BETA1
because that patch causes a crash when accessing the global variable
'environ' on Solaris 8 and 9.
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -4771,10 +4771,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,-z,ignore,-Bdirect' + 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 -z ignore -Bdirect' + 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 c8d1c406..7a3ff907 100644 --- a/configure.in +++ b/configure.in @@ -1994,10 +1994,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,-z,ignore,-Bdirect' + 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 -z ignore -Bdirect' + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore' fi if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -Wall" |