summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-01-08 02:03:25 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-01-08 02:03:25 +0000
commitf6594a06f75b05d7bd876ca8314456680d17dc49 (patch)
tree5e971f83c687ceb1203a2ff5811a57ca6e4912fc
parent436ff85b63ce63ad4c96db2cd49ae2845f275f07 (diff)
downloadbcm5719-llvm-f6594a06f75b05d7bd876ca8314456680d17dc49.tar.gz
bcm5719-llvm-f6594a06f75b05d7bd876ca8314456680d17dc49.zip
profile: Do not pass -fPIC on Windows.
Unbreaks clang-cl build (cl warns on this flag, clang-cl errors on it). llvm-svn: 257136
-rw-r--r--compiler-rt/lib/profile/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/lib/profile/CMakeLists.txt b/compiler-rt/lib/profile/CMakeLists.txt
index 80a4b6696a1..17eb48a5b27 100644
--- a/compiler-rt/lib/profile/CMakeLists.txt
+++ b/compiler-rt/lib/profile/CMakeLists.txt
@@ -45,9 +45,6 @@ if(UNIX)
set(EXTRA_FLAGS
-fPIC
-Wno-pedantic)
-else()
- set(EXTRA_FLAGS
- -fPIC)
endif()
if(COMPILER_RT_TARGET_HAS_ATOMICS)
OpenPOWER on IntegriCloud