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

5
bin/9c
View file

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