summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-04-12 07:18:55 +0000
committerAlexey Samsonov <samsonov@google.com>2013-04-12 07:18:55 +0000
commite10c151be5f83cbdf58cba293377af2ee8afedd3 (patch)
tree9aa00f65b1679a48df456debf182850ac04d3644 /llvm/cmake/modules
parent1a345ad502897f27f2be1c2319a1ba57994d588f (diff)
downloadbcm5719-llvm-e10c151be5f83cbdf58cba293377af2ee8afedd3.tar.gz
bcm5719-llvm-e10c151be5f83cbdf58cba293377af2ee8afedd3.zip
Don't explicitly provide -pie in MSan bootstrap of LLVM, as it's now implied by the driver
llvm-svn: 179367
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 516f2dd9ebd..f8a017dcaef 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -252,8 +252,6 @@ if(LLVM_USE_SANITIZER)
elseif (LLVM_USE_SANITIZER MATCHES "Memory(WithOrigins)?")
append_common_sanitizer_flags()
add_flag_or_print_warning("-fsanitize=memory")
- # -pie is required for MSan.
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
if(LLVM_USE_SANITIZER STREQUAL "MemoryWithOrigins")
add_flag_or_print_warning("-fsanitize-memory-track-origins")
endif()
OpenPOWER on IntegriCloud