]> granicus.if.org Git - clang/commit
Generalize r256026 to apply to all MachO targets, not just Darwin targets.
authorBob Wilson <bob.wilson@apple.com>
Wed, 13 Jan 2016 01:19:02 +0000 (01:19 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 13 Jan 2016 01:19:02 +0000 (01:19 +0000)
commit35a211835321cece5b46eb337e8ffb4f563e631e
tree0af8f303a75a733b43caa6daf3a79d4680be1506
parenta9b21a2f1a6122a82dfff6ffe9f21927d81fa22d
Generalize r256026 to apply to all MachO targets, not just Darwin targets.

The PIC default is set for the MachO toolchain, not just the Darwin toolchain,
so this treats those the same. The behavior with -static should be the same
for all MachO targets. rdar://24152327

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