diff options
Diffstat (limited to 'hints/irix_5.sh')
-rw-r--r-- | hints/irix_5.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hints/irix_5.sh b/hints/irix_5.sh index 2f1e8559e7..f0769d03f6 100644 --- a/hints/irix_5.sh +++ b/hints/irix_5.sh @@ -1,8 +1,16 @@ # irix_5.sh +# Last modified Fri May 5 11:01:23 EDT 1995 ld=ld i_time='define' -ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" + +case "$cc" in +*gcc) ccflags="$ccflags -D_BSD_TYPES" ;; +*) ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" ;; +esac + lddlflags="-shared" +# For some reason we don't want -lsocket -lnsl or -ldl. Can anyone +# contribute an explanation? set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` shift libswanted="$*" |