IRIX64 needs more -mabi=64 with gcc.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 12 Aug 1999 21:49:16 +0000 (21:49 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 12 Aug 1999 21:49:16 +0000 (21:49 +0000)
p4raw-id: //depot/cfgperl@3976

hints/irix_6.sh

index 84561b7..15f1cbd 100644 (file)
@@ -126,7 +126,10 @@ malloc_cflags='ccflags="-DSTRICT_ALIGNMENT $ccflags"'
        # and returning small structures.  This affects inet_*() and semctl().
        # See http://reality.sgi.com/ariel/freeware/gcc-2.8.1-notes.html
        # for more information.  Reported by Lionel Cons <lionel.cons@cern.ch>.
-       IRIX64) ccflags="$ccflags -mabi=64" ;;
+       IRIX64) ccflags="$ccflags -mabi=64"
+               ldflags="$ldflags -mabi=64 -L/usr/lib64"
+               lddlflags="$lddlflags -mabi=64"
+               ;;
        esac
        ;;
 *)