diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2016-01-08 02:03:25 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-01-08 02:03:25 +0000 |
| commit | f6594a06f75b05d7bd876ca8314456680d17dc49 (patch) | |
| tree | 5e971f83c687ceb1203a2ff5811a57ca6e4912fc | |
| parent | 436ff85b63ce63ad4c96db2cd49ae2845f275f07 (diff) | |
| download | bcm5719-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.txt | 3 |
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) |

