]> granicus.if.org Git - clang/commitdiff
[CMake][Fuchsia] Enable build ID, relaxations for first stage
authorPetr Hosek <phosek@chromium.org>
Sun, 6 Jan 2019 04:14:51 +0000 (04:14 +0000)
committerPetr Hosek <phosek@chromium.org>
Sun, 6 Jan 2019 04:14:51 +0000 (04:14 +0000)
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

cmake/caches/Fuchsia.cmake

index cc3baa294d0ef2672e88fbd0825c214293bef896..2ac30de6ba1ddf34ba4d1264878d08279ee52373 100644 (file)
@@ -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 "")