aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-02 16:58:49 +0000
committerrsc <devnull@localhost>2004-03-02 16:58:49 +0000
commit53dbac948575b07e95d184bbfbe4d8953c5ccc4c (patch)
tree944d40433c981b574750f81d66cce261a8e84939 /bin/9c
parent6e2cec77b292cc2285e369ec01faa877ea91dbdd (diff)
downloadplan9port-53dbac948575b07e95d184bbfbe4d8953c5ccc4c.tar.gz
plan9port-53dbac948575b07e95d184bbfbe4d8953c5ccc4c.tar.bz2
plan9port-53dbac948575b07e95d184bbfbe4d8953c5ccc4c.zip
Tweaks for the Macintosh.
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/9c b/bin/9c
index 602d0289..871e6f66 100755
--- a/bin/9c
+++ b/bin/9c
@@ -19,7 +19,9 @@ usegcc()
tag="`uname`-`uname -m`-${CC9:-cc}"
case "$tag" in
*BSD*) usegcc ;;
-*Darwin*) usegcc ;;
+*Darwin*) usegcc
+ cflags=`echo $cflags|sed 's/-ggdb/-g3 -no-cpp-precomp/'`
+ ;;
*HP-UX*) cc=cc; cflags="-g -O -c -Ae" ;;
*Linux*) usegcc ;;
*OSF1*) cc=cc; cflags="-g -O -c" ;;