Commit | Line | Data |
44a8e56a |
1 | # hints/irix_6_4.sh |
2 | # |
f08dbc0c |
3 | # Created by John Stoffel (jfs@fluent.com), 02/11/1997 |
44a8e56a |
4 | # Based on the Irix 6.2 hints file, but simplified. |
5 | |
6 | # Configure can't parse 'nm' output on Irix 6.4 |
7 | usenm='n' |
8 | |
f08dbc0c |
9 | # The new Irix IDO v7.1 compiler is strange... |
10 | |
11 | irix_hint_cc=`cc -version 2>&1` |
12 | case "$irix_hint_cc" in |
13 | *7.1*) |
14 | ccflags="$ccflags -OPT:Olimit=13000 -w" |
15 | optimize="-O2" |
16 | ;; |
17 | *) |
18 | ccflags="$ccflags -Olimit 3000" |
19 | ;; |
20 | esac |
21 | unset irix_hint_cc |
22 | |
23 | pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' |
44a8e56a |
24 | |
25 | # Gets rid of some extra libs that don't seem to be really needed. |
26 | # See the Irix 6.2 hints file for some justifications. |
27 | set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /' -e 's/ PW / /' -e 's/ dl / /' -e 's/ socket / /' -e 's/ nsl / /'` |
28 | shift |
29 | libswanted="$*" |