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.

llvm-svn: 126713
This commit is contained in:
Rafael Espindola 2011-02-28 23:29:45 +00:00
parent 6261d240e1
commit 22f60303f2
1 changed files with 2 additions and 0 deletions

View File

@ -1825,6 +1825,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
// care to warn the user about.
Args.ClaimAllArgs(options::OPT_clang_ignored_f_Group);
Args.ClaimAllArgs(options::OPT_clang_ignored_m_Group);
Args.ClaimAllArgs(options::OPT_use_gold_plugin);
}
void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,