Move -fnext-runtime defaulting to driver (and change clang-cc default to
-fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
This commit is contained in:
@@ -396,7 +396,8 @@ static void LangOptsToArgs(const LangOptions &Opts,
|
||||
Res.push_back(Opts.Exceptions ? "1" : "0");
|
||||
Res.push_back("-frtti");
|
||||
Res.push_back(Opts.Rtti ? "1" : "0");
|
||||
Res.push_back(Opts.NeXTRuntime ? "-fnext-runtime" : "-fgnu-runtime");
|
||||
if (!Opts.NeXTRuntime)
|
||||
Res.push_back("-fgnu-runtime");
|
||||
if (Opts.Freestanding)
|
||||
Res.push_back("-ffreestanding");
|
||||
if (Opts.NoBuiltin)
|
||||
|
||||
Reference in New Issue
Block a user