[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:19 PDT 2024


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

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

>From d86ac6711d8a84e3f5d9d59d7ad181d26f9ef89f Mon Sep 17 00:00:00 2001
From: Haowei Wu <haowei at google.com>
Date: Fri, 19 Jul 2024 16:20:36 -0700
Subject: [PATCH] [Fuchsia] Remove linker flags from stage2 pass through

This patch removes CMAKE_XXX_LINKER_FLAGS from list of flags that passed
through to stage2 build.
---
 clang/cmake/caches/Fuchsia.cmake | 3 ---
 1 file changed, 3 deletions(-)

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
 )



More information about the cfe-commits mailing list