mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Don't scrub PATH variable since Clang needs it
This commit is contained in:
parent
e85aeda4ba
commit
e345b42d78
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -115,6 +115,7 @@ struct Command command;
|
|||
const char *const kSafeEnv[] = {
|
||||
"ADDR2LINE", // needed by GetAddr2linePath
|
||||
"MAKEFLAGS", // needed by IsRunningUnderMake
|
||||
"PATH", // needed by clang
|
||||
"PWD", // just seems plain needed
|
||||
"TERM", // needed by IsTerminalInarticulate
|
||||
"TMPDIR", // needed by compiler
|
||||
|
@ -433,7 +434,6 @@ int main(int argc, char *argv[]) {
|
|||
*/
|
||||
if (iscc) {
|
||||
if (isclang) {
|
||||
/* AddArg("-fno-integrated-as"); */
|
||||
AddArg("-Wno-unused-command-line-argument");
|
||||
AddArg("-Wno-incompatible-pointer-types-discards-qualifiers");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue