X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fsco.sh;h=8774aee82d4bcfa5e2a72a8fdaaba02727d98b9d;hb=c48e04e60e0b6832c6f967240cc478d08e77d54f;hp=1d1d5c2788d9e6dfd485f780771a6c9775223947;hpb=c77b533b28c0662914d761b264c2238f98d272a4;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/sco.sh b/hints/sco.sh index 1d1d5c2..8774aee 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