INSTALL, 9c, 9l: improve handling of *BSD (#302)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user