summaryrefslogtreecommitdiff
path: root/usr/src/tools/cw/cw.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/cw/cw.c')
-rw-r--r--usr/src/tools/cw/cw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/tools/cw/cw.c b/usr/src/tools/cw/cw.c
index 40613c11b5..33a23ddee8 100644
--- a/usr/src/tools/cw/cw.c
+++ b/usr/src/tools/cw/cw.c
@@ -1836,7 +1836,7 @@ main(int argc, char **argv)
"%s/SUNWspro/SS12/bin", dir);
}
- if ((dir = getenv("GCC_ROOT")) != NULL) {
+ if ((dir = getenv("GNUC_ROOT")) != NULL) {
(void) snprintf(default_dir[CW_C_GCC], MAXPATHLEN,
"%s/bin", dir);
}