[CMake] Support -fvisibility-inlines-hidden when LLVM_ENABLE_PIC=Off
authorChris Bieneman <beanz@apple.com>
Wed, 18 Nov 2015 22:49:26 +0000 (22:49 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 18 Nov 2015 22:49:26 +0000 (22:49 +0000)
commit8fa8f201ac690729d76f852ea53a51666bedd8cc
tree654b0fe417dd8a038dd6222c23512aee1077af60
parent2d31815e4b04b49ebb66fe86a05acdbd246d02b1
[CMake] Support -fvisibility-inlines-hidden when LLVM_ENABLE_PIC=Off

I'm unaware of any reasons why -fvisibility-inlines-hidden would depend on PIC, and since autoconf supports this flag without PIC, we should support it in CMake too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253517 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake