]> granicus.if.org Git - clang/commitdiff
Remove duplicate option.
authorBob Wilson <bob.wilson@apple.com>
Mon, 15 Aug 2011 19:13:02 +0000 (19:13 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 15 Aug 2011 19:13:02 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137638 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index 4ff0a643d206642b949fe01b012e565fbaf63efb..77aea08dbbc3d763ec5227575d27fe0ddd6b9a4f 100644 (file)
@@ -781,7 +781,6 @@ DerivedArgList *Darwin::TranslateArgs(const DerivedArgList &Args,
     case options::OPT_fapple_kext:
       DAL->append(A);
       DAL->AddFlagArg(A, Opts.getOption(options::OPT_static));
-      DAL->AddFlagArg(A, Opts.getOption(options::OPT_static));
       break;
 
     case options::OPT_dependency_file: