[compiler-rt] r257136 - profile: Do not pass -fPIC on Windows.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 18:03:26 PST 2016
Author: pcc
Date: Thu Jan 7 20:03:25 2016
New Revision: 257136
URL: http://llvm.org/viewvc/llvm-project?rev=257136&view=rev
Log:
profile: Do not pass -fPIC on Windows.
Unbreaks clang-cl build (cl warns on this flag, clang-cl errors on it).
Modified:
compiler-rt/trunk/lib/profile/CMakeLists.txt
Modified: compiler-rt/trunk/lib/profile/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/CMakeLists.txt?rev=257136&r1=257135&r2=257136&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/profile/CMakeLists.txt Thu Jan 7 20:03:25 2016
@@ -45,9 +45,6 @@ if(UNIX)
set(EXTRA_FLAGS
-fPIC
-Wno-pedantic)
-else()
- set(EXTRA_FLAGS
- -fPIC)
endif()
if(COMPILER_RT_TARGET_HAS_ATOMICS)
More information about the llvm-commits
mailing list