blob: f324ff036d47aa72ca8bd3a9ad172194c8f17d53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Description: Allow using simply "gcc" which can be ccache in $PATH
Index: onbld/usr/src/tools/cw/cw.c
===================================================================
--- onbld.orig/usr/src/tools/cw/cw.c
+++ onbld/usr/src/tools/cw/cw.c
@@ -1690,7 +1690,7 @@ invoke(cw_ictx_t *ctx)
return (-1);
}
- (void) execv(newargv[0], newargv);
+ (void) execvp(newargv[0], newargv);
cw_perror("couldn't run %s", newargv[0]);
return (-1);
|