aboutsummaryrefslogtreecommitdiff
path: root/bin/9l
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-02 17:34:15 +0000
committerrsc <devnull@localhost>2004-03-02 17:34:15 +0000
commit8f314994dbcc11b2d8397535ce8b0cf9d84150d0 (patch)
tree073d6711e464fc28770e1b450223b5b8cd4b447e /bin/9l
parent53dbac948575b07e95d184bbfbe4d8953c5ccc4c (diff)
downloadplan9port-8f314994dbcc11b2d8397535ce8b0cf9d84150d0.tar.gz
plan9port-8f314994dbcc11b2d8397535ce8b0cf9d84150d0.tar.bz2
plan9port-8f314994dbcc11b2d8397535ce8b0cf9d84150d0.zip
More Mac tweaks.
Diffstat (limited to 'bin/9l')
-rwxr-xr-xbin/9l2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/9l b/bin/9l
index 19be47ed..e510e4d6 100755
--- a/bin/9l
+++ b/bin/9l
@@ -1,7 +1,7 @@
#!/bin/sh
extralibs=-lm
-tag="`uname`-`uname -m`"
+tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}"
case "$tag" in
*FreeBSD*) ld=gcc ;;
*BSD*) ld=gcc ;;