diff options
author | Leonid Bobrov <goleo@disroot.org> | 2020-01-07 21:51:42 +0200 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2020-01-07 14:51:42 -0500 |
commit | cf6b778799edf4ebc2331d12707e66e7d38331ea (patch) | |
tree | 3ea228207f8ba79e5fbd32bdddbb229b31ec27b0 /bin/9c | |
parent | 6f5bd96ed836ad26b9c4ab6ad9ecc81e28622736 (diff) | |
download | plan9port-cf6b778799edf4ebc2331d12707e66e7d38331ea.tar.gz plan9port-cf6b778799edf4ebc2331d12707e66e7d38331ea.tar.bz2 plan9port-cf6b778799edf4ebc2331d12707e66e7d38331ea.zip |
INSTALL, 9c, 9l: improve handling of *BSD (#302)
Diffstat (limited to 'bin/9c')
-rwxr-xr-x | bin/9c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" |