aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorChristian Kellermann <ckeen@pestilenz.org>2012-12-11 12:45:45 -0500
committerRuss Cox <rsc@swtch.com>2012-12-11 12:45:45 -0500
commit1a512ec048a5c607a01b9fd82561c1601ba87406 (patch)
tree60571e9860161ac608d7ba5b180fbb9e98469503 /INSTALL
parent0b4fd921055175e9dda8c424f9252f4141507742 (diff)
downloadplan9port-1a512ec048a5c607a01b9fd82561c1601ba87406.tar.gz
plan9port-1a512ec048a5c607a01b9fd82561c1601ba87406.tar.bz2
plan9port-1a512ec048a5c607a01b9fd82561c1601ba87406.zip
fontsrv: fix build on OpenBSD 5.2
R=rsc CC=plan9port.codebot https://codereview.appspot.com/6850108
Diffstat (limited to 'INSTALL')
-rwxr-xr-xINSTALL5
1 files changed, 5 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 7625cc80..1ce9bd0c 100755
--- a/INSTALL
+++ b/INSTALL
@@ -45,6 +45,11 @@ rm -f config
echo "* Compiler version:"
9c -v 2>&1 | grep -v 'Configured with:' | grep -i version | sed 's/^/ /'
+if [ `uname` = OpenBSD ]; then
+ echo "* Running on OpenBSD, adjusting linker flags"
+ echo "LDFLAGS='-L/usr/X11R6/lib -pthread'" >> $PLAN9/config
+fi
+
if [ `uname` = Linux ]; then
# On Linux, we use the kernel version to decide whether
# to use pthreads or not. On 2.6 versions that aren't