[all-commits] [llvm/llvm-project] b1e1a2: [llvm] Pass `/Brepro` via `add_link_options()` (#2...
Fabrice de Gans via All-commits
all-commits at lists.llvm.org
Wed Sep 30 02:34:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b1e1a2be9e26f6e7343708ae8be22bd54807c040
https://github.com/llvm/llvm-project/commit/b1e1a2be9e26f6e7343708ae8be22bd54807c040
Author: Fabrice de Gans <Steelskin at users.noreply.github.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[llvm] Pass `/Brepro` via `add_link_options()` (#227416)
In modern CMake, editing `CMAKE_` variables directly is discouraged.
`/Brepro` should be passed via `add_link_options()` with a `LINKER:`
prefix to be portable.
This fixes issues for downstream consumers like Swift whose linker
driver needs the linker arguments to be prefixed.
---------
Co-authored-by: Saleem Abdulrasool <compnerd at compnerd.org>
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