forked from OSchip/llvm-project
Add the -nostdclanginc option to clang (the driver).
llvm-svn: 83377
This commit is contained in:
parent
d5cf21a57b
commit
7787d79c7b
|
@ -566,6 +566,7 @@ OPTION("-nomultidefs", nomultidefs, Flag, INVALID, INVALID, "", 0, 0, 0)
|
|||
OPTION("-noprebind", noprebind, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-noseglinkedit", noseglinkedit, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostartfiles", nostartfiles, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostdclanginc", nostdclanginc, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostdinc", nostdinc, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostdlib", nostdlib, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-object", object, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
|
|
|
@ -726,6 +726,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
CmdArgs.push_back("-g");
|
||||
|
||||
Args.AddLastArg(CmdArgs, options::OPT_nostdinc);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_nostdclanginc);
|
||||
|
||||
Args.AddLastArg(CmdArgs, options::OPT_isysroot);
|
||||
|
||||
|
|
Loading…
Reference in New Issue