summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2008-11-04 18:07:16 +0000
committerwtc%google.com <devnull@localhost>2008-11-04 18:07:16 +0000
commitf430f2afd8813f3b7c86edb6c50ad0508e168f6f (patch)
tree94be0a7f822ab21f144a968acfc579ba7e482ad3
parentb2f9982ddb3ea7359a1d3811ee031b7ecb3a9593 (diff)
downloadnspr-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-xconfigure4
-rw-r--r--configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index bc2c5f02..dca94413 100755
--- a/configure
+++ b/configure
@@ -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"