summaryrefslogtreecommitdiff
path: root/src/cmd/cc
diff options
context:
space:
mode:
authorGiles Lean <giles.lean@pobox.com>2010-02-16 11:32:41 -0800
committerGiles Lean <giles.lean@pobox.com>2010-02-16 11:32:41 -0800
commit94e8c25bf130944432a2f80f1f34a6f94b8951ec (patch)
tree3ffd058d47f7fadfd148ec7b4cfeeb50f7b4d459 /src/cmd/cc
parent12aab04ec02bbe4d6db96bd46791e5381f6202d4 (diff)
downloadgolang-94e8c25bf130944432a2f80f1f34a6f94b8951ec.tar.gz
cc: use "cpp" anywhere in path, not "/bin/cpp"
R=rsc CC=golang-dev http://codereview.appspot.com/206077 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/cc')
-rw-r--r--src/cmd/cc/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/cc/lex.c b/src/cmd/cc/lex.c
index 63916e2a1..c9facc667 100644
--- a/src/cmd/cc/lex.c
+++ b/src/cmd/cc/lex.c
@@ -32,7 +32,7 @@
#include "y.tab.h"
#ifndef CPP
-#define CPP "/bin/cpp"
+#define CPP "cpp"
#endif
int