diff options
author | rsc <devnull@localhost> | 2005-02-08 18:01:04 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-08 18:01:04 +0000 |
commit | dc305d03681e150b97acf4631a514868acd4b276 (patch) | |
tree | 2452571d92327cb485a4a8371eabf1685d16c7f5 /bin | |
parent | dd4afdf4eb411c2899f792cb11380877af065b1d (diff) | |
download | plan9port-dc305d03681e150b97acf4631a514868acd4b276.tar.gz plan9port-dc305d03681e150b97acf4631a514868acd4b276.tar.bz2 plan9port-dc305d03681e150b97acf4631a514868acd4b276.zip |
Maybe it will run on SunOS 5.8 now.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/9l | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -205,6 +205,19 @@ case "$tag" in ;; esac done + case "${SYSVERSION:-`uname -r`}" in + 5.[67]) + echo do not know how to link right thread library on "$tag" 1>&2 + ;; + 5.8) + # Some trickery is needed to force use of + # alternate thread lib from /usr/lib/lwp + # Likely, this only works with sun cc, + # for other compiler/loader we would need other flags. + ld="$ld -i" + extralibs="$extralibs /usr/lib/lwp/libthread.so -R/usr/lib/lwp:/usr/lib" + ;; + esac ;; *) echo do not know how to link on "$tag" 1>&2 |