Skip to content

chore: replace set with add_link_options for linker flags#399

Merged
SF-Zhou merged 1 commit into
mainfrom
SF-Zhou-patch-1
Feb 25, 2026
Merged

chore: replace set with add_link_options for linker flags#399
SF-Zhou merged 1 commit into
mainfrom
SF-Zhou-patch-1

Conversation

@SF-Zhou

@SF-Zhou SF-Zhou commented Feb 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the CMake build configuration by replacing the deprecated set(CMAKE_EXE_LINKER_FLAGS ...) pattern with the modern add_link_options() command for specifying linker flags on ARM (aarch64) architecture builds.

Changes:

  • Replaced set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rtlib=compiler-rt -unwindlib=libgcc") with add_link_options("-rtlib=compiler-rt" "-unwindlib=libgcc") in the aarch64 processor configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CMakeLists.txt
@SF-Zhou SF-Zhou merged commit 9814c6e into main Feb 25, 2026
5 checks passed
@SF-Zhou SF-Zhou deleted the SF-Zhou-patch-1 branch March 5, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants