Commit | Line | Data |
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. |
5 | usemymalloc='n' |
6 | |
f0b7e567 |
7 | ld=ld |
a0d0e21e |
8 | i_time='define' |
16d20bd9 |
9 | |
10 | case "$cc" in |
11 | *gcc) ccflags="$ccflags -D_BSD_TYPES" ;; |
12 | *) ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" ;; |
13 | esac |
14 | |
a0d0e21e |
15 | lddlflags="-shared" |
16d20bd9 |
16 | # For some reason we don't want -lsocket -lnsl or -ldl. Can anyone |
17 | # contribute an explanation? |
a0d0e21e |
18 | set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` |
19 | shift |
20 | libswanted="$*" |