|
|
@@ -182,3 +182,34 @@ Index: ext/DynaLoader/dl_dyld.xs
|
|
|
|
|
|
static char *dlerror()
|
|
|
{
|
|
|
+
|
|
|
+-----------------------------------------------------------------------------
|
|
|
+
|
|
|
+Port to Tru64 5.1:
|
|
|
+
|
|
|
+Under Tru64 our gcc has to be built without binutils and the system
|
|
|
+ld(1) does not accept a "-O" option, so remove the whole passing of
|
|
|
+optimization flags to ld(1). Under a brain-dead platform like Tru64 we
|
|
|
+really don't need any more optimization because we are already happy if
|
|
|
+it works at all.
|
|
|
+
|
|
|
+Index: hints/dec_osf.sh
|
|
|
+--- hints/dec_osf.sh.orig 2004-03-24 23:59:53.000000000 +0100
|
|
|
++++ hints/dec_osf.sh 2004-04-22 09:58:40.000000000 +0200
|
|
|
+@@ -237,15 +237,6 @@
|
|
|
+ *) if $test "X$optimize" = "X$undef"; then
|
|
|
+ lddlflags="$lddlflags -msym"
|
|
|
+ else
|
|
|
+- case "$myosvers" in
|
|
|
+- *4.0D*)
|
|
|
+- # QAR 56761: -O4 + .so may produce broken code,
|
|
|
+- # fixed in 4.0E or better.
|
|
|
+- ;;
|
|
|
+- *)
|
|
|
+- lddlflags="$lddlflags $optimize"
|
|
|
+- ;;
|
|
|
+- esac
|
|
|
+ # -msym: If using a sufficiently recent /sbin/loader,
|
|
|
+ # keep the module symbols with the modules.
|
|
|
+ lddlflags="$lddlflags -msym -std"
|
|
|
+
|