Bite the bullet. Have to use different

binaries on 2.4 and 2.6.
This commit is contained in:
rsc 2004-09-17 22:09:31 +00:00
parent b4c842f139
commit 282c88f9de
4 changed files with 21 additions and 92 deletions

8
bin/9c
View file

@ -26,7 +26,13 @@ case "$tag" in
*Darwin*) usegcc
cflags="$ngflags -g3 -no-cpp-precomp" ;;
*HP-UX*) cc=cc; cflags="-g -O -c -Ae" ;;
*Linux*) usegcc ;;
*Linux*) usegcc
case "`uname -r`" in
2.6*)
cflags="$cflags -D__Linux26__"
;;
esac
;;
*OSF1*) cc=cc; cflags="-g -O -c" ;;
*SunOS*-cc) cc=cc;
cflags="-g -O -c -xCC -D__sun__"