]> granicus.if.org Git - clang/commit
Driver: Do not warn about unused -pthread when linking on darwin
authorMatthias Braun <matze@braunis.de>
Fri, 3 Feb 2017 23:09:31 +0000 (23:09 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 3 Feb 2017 23:09:31 +0000 (23:09 +0000)
commite81fef1796ef02bf49916b89ae8b924053603488
treee4bd6beb5b55edda1f353e7a786ecdf8a5aee862
parenta25cf11c8e39f7d67d7fc362d2e9f789c717c3ee
Driver: Do not warn about unused -pthread when linking on darwin

While there is nothing to do at link time to get pthreads support on
darwin, specifying the argument is fine and we should not warn about
unused arguments.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294065 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/darwin-ld-pthread.c [new file with mode: 0644]