summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-01-06 04:14:51 +0000
committerPetr Hosek <phosek@chromium.org>2019-01-06 04:14:51 +0000
commitace6bcb7b9f4114b051d3c70d0f3f92c4099959f (patch)
treeb645121700710f5e300cc5f9a270053905694b2a /cmake
parent53e3c74f8e4c55f5122bdd1cab090fd21daa9ce2 (diff)
downloadclang-ace6bcb7b9f4114b051d3c70d0f3f92c4099959f.tar.gz
[CMake][Fuchsia] Enable build ID, relaxations for first stage
We want these to be used for the second stage compiler as well. Differential Revision: https://reviews.llvm.org/D56359 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/caches/Fuchsia.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/caches/Fuchsia.cmake b/cmake/caches/Fuchsia.cmake
index cc3baa294d..2ac30de6ba 100644
--- a/cmake/caches/Fuchsia.cmake
+++ b/cmake/caches/Fuchsia.cmake
@@ -14,6 +14,9 @@ set(LLVM_ENABLE_ZLIB OFF CACHE BOOL "")
set(CLANG_INCLUDE_TESTS OFF CACHE BOOL "")
set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
+set(ENABLE_LINKER_BUILD_ID ON CACHE BOOL "")
+set(ENABLE_X86_RELAX_RELOCATIONS ON CACHE BOOL "")
+
set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
set(CMAKE_BUILD_TYPE Release CACHE STRING "")