aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2014-02-27 23:17:47 -0500
committerShenghou Ma <minux.ma@gmail.com>2014-02-27 23:17:47 -0500
commit20035ed43cfd67cddd01969e155794e1e057d9e6 (patch)
treeb8d840938e7f506f433ff6abc0b816e0b7cf3206 /bin
parentdb800afb4e7b46df67feba70cda683f34110619b (diff)
downloadplan9port-20035ed43cfd67cddd01969e155794e1e057d9e6.tar.gz
plan9port-20035ed43cfd67cddd01969e155794e1e057d9e6.tar.bz2
plan9port-20035ed43cfd67cddd01969e155794e1e057d9e6.zip
all: DragonFly port.
Fix compilation problems, libdraw still doesn't work right yet. LGTM=rsc R=rsc https://codereview.appspot.com/67820046
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9c2
-rwxr-xr-xbin/9l2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/9c b/bin/9c
index 78ce552f..85aa0822 100755
--- a/bin/9c
+++ b/bin/9c
@@ -77,7 +77,7 @@ tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}-${CC9:-cc}"
case "$tag" in
*FreeBSD*gcc*) usegcc ;;
*FreeBSD*clang*) useclang ;;
-*BSD*) usegcc ;;
+*DragonFly*|*BSD*) usegcc ;;
*Darwin-x86_64*clang*)
useclang
cflags="$ngflags -g3 -m64"
diff --git a/bin/9l b/bin/9l
index 011da243..d07bd892 100755
--- a/bin/9l
+++ b/bin/9l
@@ -24,7 +24,7 @@ case "$tag" in
;;
esac
;;
-*BSD*)
+*DragonFly*|*BSD*)
ld=${CC9:-gcc}
userpath=true
extralibs="$extralibs -lutil"