INSTALL, 9c, 9l: improve handling of *BSD (#302)
This commit is contained in:
parent
6f5bd96ed8
commit
cf6b778799
3 changed files with 27 additions and 39 deletions
13
bin/9l
13
bin/9l
|
|
@ -11,19 +11,6 @@ nmflags=""
|
|||
extralibs="-lm"
|
||||
tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}"
|
||||
case "$tag" in
|
||||
*FreeBSD*)
|
||||
ld=${CC9:-gcc}
|
||||
userpath=true
|
||||
extralibs="$extralibs -lutil"
|
||||
case "`uname -r`" in
|
||||
5.2.*)
|
||||
extralibs="$extralibs -lkse"
|
||||
;;
|
||||
[5-9].*|1[0-9].*)
|
||||
extralibs="$extralibs -lpthread"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*DragonFly*|*BSD*)
|
||||
ld=${CC9:-gcc}
|
||||
userpath=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue