diff options
author | Petr Hosek <phosek@chromium.org> | 2019-01-05 07:57:46 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-01-05 07:57:46 +0000 |
commit | 264e7d838aaef3e915f2d80001572d1f2ab4ebd9 (patch) | |
tree | b557ef59ce5789b70390c317ea42bec86cecead0 /cmake | |
parent | 0cdb85449b3c696dd25400baef6750eec154566a (diff) | |
download | clang-264e7d838aaef3e915f2d80001572d1f2ab4ebd9.tar.gz |
[CMake][Fuchsia] Enable x86 relaxation by default
This enables x86 relaxation by default. This depends on a linker new
enough to support the new reloc types but since we default to lld we
don't worry about host system linkers that might be too old to support
the new reloc types.
Differential Revision: https://reviews.llvm.org/D56349
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/caches/Fuchsia-stage2.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/caches/Fuchsia-stage2.cmake b/cmake/caches/Fuchsia-stage2.cmake index c4daee1b76..3d9b08da44 100644 --- a/cmake/caches/Fuchsia-stage2.cmake +++ b/cmake/caches/Fuchsia-stage2.cmake @@ -15,6 +15,7 @@ set(LLVM_EXTERNALIZE_DEBUGINFO ON 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_LTO ON CACHE BOOL "") if(NOT APPLE) |