aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/9c b/bin/9c
index 9da9be06..19bb6ebe 100755
--- a/bin/9c
+++ b/bin/9c
@@ -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__"