diff --git a/CMakeLists.txt b/CMakeLists.txt index ae858f57945..a95ca51d18a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,7 +159,7 @@ endif(WIN32) include(config-ix) -option(LLVM_ENABLE_PIC "Build Position-Independent Code" OFF) +option(LLVM_ENABLE_PIC "Build Position-Independent Code" ON) set(ENABLE_PIC 0) if( LLVM_ENABLE_PIC ) diff --git a/docs/CMake.html b/docs/CMake.html index 1ef7abeef2a..741e8dac0b6 100644 --- a/docs/CMake.html +++ b/docs/CMake.html @@ -264,9 +264,9 @@ CMAKE_BUILD_TYPE is Release.