diff options
author | rsc <devnull@localhost> | 2004-09-17 22:09:31 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-09-17 22:09:31 +0000 |
commit | 282c88f9de897056f7a2461216dbfdb51ab655f3 (patch) | |
tree | 41352a8f97673c4475b54a1a6ffbef82ff363685 /bin/9l | |
parent | b4c842f139b47e1c999eb395f348c236af83143b (diff) | |
download | plan9port-282c88f9de897056f7a2461216dbfdb51ab655f3.tar.gz plan9port-282c88f9de897056f7a2461216dbfdb51ab655f3.tar.bz2 plan9port-282c88f9de897056f7a2461216dbfdb51ab655f3.zip |
Bite the bullet. Have to use different
binaries on 2.4 and 2.6.
Diffstat (limited to 'bin/9l')
-rwxr-xr-x | bin/9l | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -10,7 +10,12 @@ case "$tag" in extralibs="$extralibs -lutil" ;; *Linux*) ld=gcc - extralibs="$extralibs -lutil -lpthread" + extralibs="$extralibs -lutil" + case "`uname -r`" in + 2.6.*) + extralibs="$extralibs -lpthread" + ;; + esac ;; *Darwin*) ld=gcc ;; *SunOS*) ld="${CC9:-cc} -g" |