1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-26 07:55:01 +00:00

Make c99(1) invoke /usr/bin/cc with argv[0] set to "/usr/bin/cc" instead

of just "cc", since there is no reason to cause additional path searches
in this case.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2013-03-07 21:37:23 +00:00
parent b1bbb41f96
commit d023c5ae25
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247953

View File

@ -70,7 +70,7 @@ main(int argc, char *argv[])
usage();
}
addarg("cc");
addarg("/usr/bin/cc");
addarg("-std=iso9899:1999");
addarg("-pedantic");
for (i = 1; i < optind; i++)