aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
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 /INSTALL
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 'INSTALL')
-rwxr-xr-xINSTALL6
1 files changed, 6 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 9c5592e1..f8b8587e 100755
--- a/INSTALL
+++ b/INSTALL
@@ -50,6 +50,12 @@ if [ `uname` = FreeBSD ]; then
echo "LDFLAGS='-L/usr/local/lib'" >> $PLAN9/config
fi
+if [ `uname` = DragonFly ]; then
+ echo "* Running on DragonFly BSD, adjusting linker flags"
+ echo "LDFLAGS='-L/usr/local/lib -pthread'" >> $PLAN9/config
+ echo "CFLAGS='-pthread'" >> $PLAN9/config
+fi
+
if [ `uname` = OpenBSD ]; then
echo "* Running on OpenBSD, adjusting linker flags"
echo "LDFLAGS='-L/usr/X11R6/lib -pthread'" >> $PLAN9/config