r350459 - [CMake][Fuchsia] Enable --build-id linker flag by default
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 4 23:57:39 PST 2019
Author: phosek
Date: Fri Jan 4 23:57:38 2019
New Revision: 350459
URL: http://llvm.org/viewvc/llvm-project?rev=350459&view=rev
Log:
[CMake][Fuchsia] Enable --build-id linker flag by default
This enables passing --build-id to linker by default.
Differential Revision: https://reviews.llvm.org/D56348
Modified:
cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
Modified: cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/cmake/caches/Fuchsia-stage2.cmake?rev=350459&r1=350458&r2=350459&view=diff
==============================================================================
--- cfe/trunk/cmake/caches/Fuchsia-stage2.cmake (original)
+++ cfe/trunk/cmake/caches/Fuchsia-stage2.cmake Fri Jan 4 23:57:38 2019
@@ -14,6 +14,8 @@ set(LLVM_ENABLE_ZLIB ON CACHE BOOL "")
set(LLVM_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
+set(ENABLE_LINKER_BUILD_ID ON CACHE BOOL "")
+
set(LLVM_ENABLE_LTO ON CACHE BOOL "")
if(NOT APPLE)
set(LLVM_ENABLE_LLD ON CACHE BOOL "")
More information about the cfe-commits
mailing list