OSDN Git Service

Fix assignment of -fPIC to CMAKE_C_FLAGS. Configure llvm-config.in.in
authorOscar Fuentes <ofv@wanadoo.es>
Fri, 1 Apr 2011 19:36:06 +0000 (19:36 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Fri, 1 Apr 2011 19:36:06 +0000 (19:36 +0000)
commitc2db19ebf41e4d46638c1442121ed3b292a33848
tree5d449c223d8b824e9b6cc5a170fc3043d9eff524
parenta4485c49641a492688276a061ddd0cb38d38e270
Fix assignment of -fPIC to CMAKE_C_FLAGS. Configure llvm-config.in.in
with the contents of CMAKE_C(XX)_FLAGS too, else `llvm-config
--c(xx)flags' doesn't tell the absolute truth.

This comes from PR9603 and is based on a patch by Ryuta Suzuki!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128727 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
tools/llvm-config/CMakeLists.txt