commit | 282c88f9de897056f7a2461216dbfdb51ab655f3 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Fri Sep 17 22:09:31 2004 +0000 |
committer | rsc <devnull@localhost> | Fri Sep 17 22:09:31 2004 +0000 |
tree | 41352a8f97673c4475b54a1a6ffbef82ff363685 | |
parent | b4c842f139b47e1c999eb395f348c236af83143b [diff] [blame] |
Bite the bullet. Have to use different binaries on 2.4 and 2.6.
diff --git a/bin/9c b/bin/9c index 9da9be0..19bb6eb 100755 --- a/bin/9c +++ b/bin/9c
@@ -26,7 +26,13 @@ *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__"