This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Android hints: run-adb-shell was mishandling '\0'
[perl5.git] / hints / irix_6.sh
index e3df634..e36d643 100644 (file)
@@ -192,7 +192,7 @@ esac'
        case "`uname -s`" in
        # Without the -mabi=64 gcc in 64-bit IRIX has problems passing
        # and returning small structures.  This affects inet_*() and semctl().
-       # See http://reality.sgi.com/ariel/freeware/gcc-2.8.1-notes.html
+       # See http://groups.google.com/group/comp.sys.sgi.admin/msg/3ad8353bc4ce3cb0
        # for more information.  Reported by Lionel Cons <lionel.cons@cern.ch>.
        IRIX64) ccflags="$ccflags -mabi=64"
                ldflags="$ldflags -mabi=64 -L/usr/lib64"
@@ -344,7 +344,9 @@ esac
 # (We only need to do this for cc, not for gcc.  ccversion is computed above.)
 case "$ccversion" in
 '')  ;; # gcc.  Do nothing.
-*)  cppstdin=`pwd`/cppstdin
+*)  # Inside this call-back unit, we are down in the UU/ subdirectory,
+    # but Configure will look for cppstdin one level up.
+    cd ..; cppstdin=`pwd`/cppstdin; cd UU
     cpprun="$cppstdin"
     ;;
 esac