]> granicus.if.org Git - clang/commit
Ignore unused --serialize-diagnostics option when using llvm-gcc.
authorBob Wilson <bob.wilson@apple.com>
Sun, 1 Apr 2012 23:03:29 +0000 (23:03 +0000)
committerBob Wilson <bob.wilson@apple.com>
Sun, 1 Apr 2012 23:03:29 +0000 (23:03 +0000)
commit651f3d44dbae18c74c5f475d7a601d65b07b45c4
treeecf8a5f6263951b2028e3670b3739eaebdb1c237
parent70e24fccc8ef4aa8be03a778e9655bfcfa79dd14
Ignore unused --serialize-diagnostics option when using llvm-gcc.

llvm-gcc doesn't handle --serialize-diagnostics so when compiling i386
kernel/kext code with -Werror, you get an error about that option being
unused.  Claim the argument to prevent this from breaking builds.
<rdar://problem/11161933>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp