summaryrefslogtreecommitdiff
path: root/hints/sco.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/sco.sh')
-rw-r--r--hints/sco.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/hints/sco.sh b/hints/sco.sh
index 1d1d5c2788..8774aee82d 100644
--- a/hints/sco.sh
+++ b/hints/sco.sh
@@ -148,7 +148,7 @@ else
lddlflags='-G -L/usr/local/lib'
;;
*)
- ccdlflags='-Bexport -L/usr/local/lib'
+ ccdlflags='-Wl,-Bexport -L/usr/local/lib'
cccdlflags='-Kpic'
lddlflags='-G -L/usr/local/lib'
;;
@@ -201,6 +201,15 @@ if test -f /usr/lib/libdbm.nfs.a ; then
fi
###############################################################
+# At least for ORS5.0.2, prefer sprintf() over gcvt(), since gcvt()
+# used to cause a SIGFPE and a core dump when passed a NaN.
+# This may not be an issue in perl-5.8.x and later since we
+# try to trap SIGFPE. However, preferring sprintf() should be
+# safe anyway, so let's go ahead and set it. See the bugs database
+# item [perl #3100]. --A.D. 12/2004.
+ gconvert_preference='sprintf'
+
+###############################################################
# We disable ODBM_File if OSR5 because it's mostly broken
# but keep it for ODT3 as it seems to work.
if test "$scorls" = "5"; then