Patch from Andreas.
[p5sagit/p5-mst-13.2.git] / hints / irix_5.sh
CommitLineData
a0d0e21e 1# irix_5.sh
38df4676 2# Last modified Tue Jan 2 14:52:36 EST 1996
3# Apparently, there's a stdio bug that can lead to memory
4# corruption using perl's malloc, but not SGI's malloc.
5usemymalloc='n'
6
f0b7e567 7ld=ld
a0d0e21e 8i_time='define'
16d20bd9 9
10case "$cc" in
11*gcc) ccflags="$ccflags -D_BSD_TYPES" ;;
12*) ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" ;;
13esac
14
a0d0e21e 15lddlflags="-shared"
16d20bd9 16# For some reason we don't want -lsocket -lnsl or -ldl. Can anyone
17# contribute an explanation?
a0d0e21e 18set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
19shift
20libswanted="$*"