diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2011-05-19 20:46:39 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2011-05-19 20:46:39 +0000 |
commit | 46a49391efab20d7a2a1c18f22edb3d76b465252 (patch) | |
tree | d3fd2e7d1ae154b400f00fdc8705f63475c8d0d6 /lib/Driver/Tools.cpp | |
parent | c9858bcf499078f58ebe7dcbede928cc0fa7a203 (diff) |
Correction for r131662, the GNU as option is --fatal-warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index c575afb95e..9ff8a5ccdc 100644 --- a/lib/Driver/Tools.cpp +++ b/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 { |