[all-commits] [llvm/llvm-project] 435424: llvm: Use add_link_options for stack size flags (#...
Fabrice de Gans via All-commits
all-commits at lists.llvm.org
Thu Apr 30 02:04:51 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4354248d10fbf053189ed94dfab9657af8c545af
https://github.com/llvm/llvm-project/commit/4354248d10fbf053189ed94dfab9657af8c545af
Author: Fabrice de Gans <Steelskin at users.noreply.github.com>
Date: 2026-04-30 (Thu, 30 Apr 2026)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
llvm: Use add_link_options for stack size flags (#195034)
Previously, LLVM was directly editing `CMAKE_EXE_LINKER_FLAGS`. This is
a user-facing CMake cache variable not meant to be modified by project
code. This was causing issues for downstream consumers building
non-C/C++ targets as part of the LLVM build.
Modern CMake provides `add_link_options()`, a cleaner way to set linker
flags that propagate to every target in a directory tree.
Generator expressions and the `LINKER:` prefix syntax ensure that this
is only applied to executable targets with the proper language and
linker argument wrapping.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list