summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-01-05 07:57:46 +0000
committerPetr Hosek <phosek@chromium.org>2019-01-05 07:57:46 +0000
commit97a245f8e7df5b81fd41239424089efbaf1c58ba (patch)
treeb35aac9d088d83a24eb819fec29c19380c4a419f
parent4bb647d2a361e2912d216f02dd20cb53ce276099 (diff)
downloadbcm5719-llvm-97a245f8e7df5b81fd41239424089efbaf1c58ba.tar.gz
bcm5719-llvm-97a245f8e7df5b81fd41239424089efbaf1c58ba.zip
[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 llvm-svn: 350460
-rw-r--r--clang/cmake/caches/Fuchsia-stage2.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake
index c4daee1b768..3d9b08da441 100644
--- a/clang/cmake/caches/Fuchsia-stage2.cmake
+++ b/clang/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)
OpenPOWER on IntegriCloud