aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c5
1 files changed, 2 insertions, 3 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"