зеркало из https://github.com/microsoft/clang-1.git
Don't warn about "clang -use-gold-plugin -c ...". With this users can say
CC="clang -use-gold-plugin" CFLAGS=-emit-llvm ../configure... and not be hit with a warning for each .c file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126713 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
e29425bd22
Коммит
035ff0c674
|
@ -1825,6 +1825,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
||||||
// care to warn the user about.
|
// care to warn the user about.
|
||||||
Args.ClaimAllArgs(options::OPT_clang_ignored_f_Group);
|
Args.ClaimAllArgs(options::OPT_clang_ignored_f_Group);
|
||||||
Args.ClaimAllArgs(options::OPT_clang_ignored_m_Group);
|
Args.ClaimAllArgs(options::OPT_clang_ignored_m_Group);
|
||||||
|
|
||||||
|
Args.ClaimAllArgs(options::OPT_use_gold_plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
|
void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче