mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 01:53:46 +01: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:
parent
b1bbb41f96
commit
d023c5ae25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247953
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user