aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9c5
-rwxr-xr-xbin/9l13
2 files changed, 2 insertions, 16 deletions
diff --git a/bin/9c b/bin/9c
index 88c47887..7e6e3ab8 100755
--- a/bin/9c
+++ b/bin/9c
@@ -79,9 +79,8 @@ useclang()
tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}-${CC9:-cc}"
case "$tag" in
-*FreeBSD*gcc*) usegcc ;;
-*FreeBSD*clang*) useclang ;;
-*DragonFly*|*BSD*) usegcc ;;
+*(DragonFly|BSD)*gcc*) usegcc ;;
+*(DragonFly|BSD)*clang*) useclang ;;
*Darwin-x86_64*)
useclang
cflags="$ngflags -g3 -m64"
diff --git a/bin/9l b/bin/9l
index 032d3801..8af27154 100755
--- a/bin/9l
+++ b/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