diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index cfcb4b9537109..c372552778fcc 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -106,7 +106,6 @@ static std::list Modules; static DenseMap FDToLeaderHandle; static StringMap ResInfo; static std::vector Cleanup; -static llvm::TargetOptions TargetOpts; namespace options { enum OutputType {