INSTALL, 9c, 9l: improve handling of *BSD (#302)

This commit is contained in:
Leonid Bobrov 2020-01-07 21:51:42 +02:00 committed by Dan Cross
parent 6f5bd96ed8
commit cf6b778799
3 changed files with 27 additions and 39 deletions

13
bin/9l
View file

@ -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