-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't workingbuildBuild system, CMake, compiler, linker, CI/CD issuesBuild system, CMake, compiler, linker, CI/CD issuescliVix CLI (vix new, build, run, dev)Vix CLI (vix new, build, run, dev)fixedIssue resolved and verified in a released version.Issue resolved and verified in a released version.
Description
Description
When using --linker lld or --linker mold, the selected linker was not always
used during the final link step. Linker flags were incorrectly propagated via
CMAKE_C_FLAGS / CMAKE_CXX_FLAGS, leading to unreliable behavior and CMake
warnings about unused variables.
Impact
- Fast linkers (
lld,mold) sometimes ignored - Inconsistent build results
- Noisy CMake warnings
Resolution
- Fast linker flags are now applied via:
CMAKE_EXE_LINKER_FLAGSCMAKE_SHARED_LINKER_FLAGSCMAKE_MODULE_LINKER_FLAGS
- Removed incorrect propagation through compile flags
Result
Linker selection is now deterministic, correct, and warning-free.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbuildBuild system, CMake, compiler, linker, CI/CD issuesBuild system, CMake, compiler, linker, CI/CD issuescliVix CLI (vix new, build, run, dev)Vix CLI (vix new, build, run, dev)fixedIssue resolved and verified in a released version.Issue resolved and verified in a released version.