From 20035ed43cfd67cddd01969e155794e1e057d9e6 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Thu, 27 Feb 2014 23:17:47 -0500 Subject: all: DragonFly port. Fix compilation problems, libdraw still doesn't work right yet. LGTM=rsc R=rsc https://codereview.appspot.com/67820046 --- bin/9c | 2 +- bin/9l | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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" -- cgit v1.2.3