[clang] [Fuchsia] Remove linker flags from stage2 pass through (PR #99722)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 17:01:46 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Haowei (zeroomega)

<details>
<summary>Changes</summary>

This patch removes CMAKE_XXX_LINKER_FLAGS from list of flags that passed through to stage2 build.

---
Full diff: https://github.com/llvm/llvm-project/pull/99722.diff


1 Files Affected:

- (modified) clang/cmake/caches/Fuchsia.cmake (-3) 


``````````diff
diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake
index 4d3af3ad3f403..2d2dcb9ae6798 100644
--- a/clang/cmake/caches/Fuchsia.cmake
+++ b/clang/cmake/caches/Fuchsia.cmake
@@ -67,9 +67,6 @@ set(_FUCHSIA_BOOTSTRAP_PASSTHROUGH
   SWIG_EXECUTABLE
   CMAKE_FIND_PACKAGE_PREFER_CONFIG
   CMAKE_SYSROOT
-  CMAKE_MODULE_LINKER_FLAGS
-  CMAKE_SHARED_LINKER_FLAGS
-  CMAKE_EXE_LINKER_FLAGS
   LLVM_WINSYSROOT
   LLVM_VFSOVERLAY
 )

``````````

</details>


https://github.com/llvm/llvm-project/pull/99722


More information about the cfe-commits mailing list