diff options
author | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-08-30 00:46:45 +0000 |
---|---|---|
committer | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-08-30 00:46:45 +0000 |
commit | c9784fb2ad7e746f19c90fec1271bbd51561815d (patch) | |
tree | a6284862044faf1bdb83cfb00ea18db9b163b716 | |
parent | 162667ddf088fd4df50f55989a303012a452cbfd (diff) | |
download | nspr-hg-c9784fb2ad7e746f19c90fec1271bbd51561815d.tar.gz |
Fix for bug 451476 . NSPR shared libraries should use direct bindings on Solaris. r=wtc
-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' + DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore,-Bdirect' else DSO_CFLAGS=-KPIC - DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore' + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore -Bdirect' fi if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -Wall" diff --git a/configure.in b/configure.in index 3dbbd274..af52259e 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' + DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore,-Bdirect' else DSO_CFLAGS=-KPIC - DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore' + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore -Bdirect' fi if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -Wall" |