summaryrefslogtreecommitdiff
path: root/lib/profile
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-05-09 21:24:06 +0000
committerPetr Hosek <phosek@chromium.org>2018-05-09 21:24:06 +0000
commit6d822c4e3a08225b984f971149746b1b5273dea5 (patch)
tree15fe78d06d3c13d9141557d9b72f446682391e0e /lib/profile
parente025663e073ae23b2eaeedeac0f341489fc9ad94 (diff)
downloadcompiler-rt-6d822c4e3a08225b984f971149746b1b5273dea5.tar.gz
[CMake] Build shared version of runtimes for Fuchsia
Fuchsia is no longer treated as UNIX which means we need to explicitly enable building of shared versions of runtimes. Differential Revision: https://reviews.llvm.org/D46609 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile')
-rw-r--r--lib/profile/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/CMakeLists.txt b/lib/profile/CMakeLists.txt
index 91d67ec36..9aab12522 100644
--- a/lib/profile/CMakeLists.txt
+++ b/lib/profile/CMakeLists.txt
@@ -68,7 +68,7 @@ if(WIN32)
list(APPEND PROFILE_SOURCES WindowsMMap.c)
endif()
-if(UNIX)
+if(FUCHSIA OR UNIX)
set(EXTRA_FLAGS
-fPIC
-Wno-pedantic)