diff options
author | Chris Bieneman <beanz@apple.com> | 2016-05-05 16:31:28 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-05-05 16:31:28 +0000 |
commit | 4edcfa7a5743c3927e5bb8857b0b2727acec8a56 (patch) | |
tree | 730b3d8d9972269305eb9985e72abc269a0eebd3 /cmake | |
parent | 2e2398b23f5d9f7a3df34930c6f3eddc3e02f517 (diff) |
[CMake][Apple-stage2] Don't link with -fno-pie
On Darwin the default is to build PIC and link PIE. We shouldn't need to override that in the Apple Clang distributions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/caches/Apple-stage2.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/caches/Apple-stage2.cmake b/cmake/caches/Apple-stage2.cmake index 3679f5b2a2..279e83751a 100644 --- a/cmake/caches/Apple-stage2.cmake +++ b/cmake/caches/Apple-stage2.cmake @@ -28,7 +28,6 @@ set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "") set(LLVM_ENABLE_LTO ON CACHE BOOL "") set(CMAKE_C_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "") set(CMAKE_CXX_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "") -set(CMAKE_EXE_LINKER_FLAGS "-fno-pie" CACHE STRING "") set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "") |