From 3028e46e5725f956c9955aaef10d0a1649c1120a Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Thu, 19 May 2011 20:46:39 +0000 Subject: Correction for r131662, the GNU as option is --fatal-warnings. llvm-svn: 131671 --- clang/lib/Driver/Tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Driver/Tools.cpp') diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index c575afb95eb..9ff8a5ccdc1 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -1020,7 +1020,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // Do nothing, this is the default and we don't support anything else. } else if (Value == "-L") { CmdArgs.push_back("-msave-temp-labels"); - } else if (Value == "-fatal-warnings") { + } else if (Value == "--fatal-warnings") { CmdArgs.push_back("-mllvm"); CmdArgs.push_back("-fatal-assembler-warnings"); } else { -- cgit v1.2.3