Skip to content

build: re-enable ThinLTO on macOS#51669

Draft
ckerr wants to merge 1 commit into
mainfrom
fix/reland-thin-lto-mac
Draft

build: re-enable ThinLTO on macOS#51669
ckerr wants to merge 1 commit into
mainfrom
fix/reland-thin-lto-mac

Conversation

@ckerr
Copy link
Copy Markdown
Member

@ckerr ckerr commented May 16, 2026

Description of Change

Re-enable ThinLTO on macOS. Add a new patch to ensure N-API entry points aren't stripped by ThinLTO. Copy the __attribute__((used)) approach from nodejs/node#49037 .

Checklist

Release Notes

Notes:


Notes: none

@ckerr ckerr requested a review from a team as a code owner May 16, 2026 23:02
@ckerr ckerr marked this pull request as draft May 16, 2026 23:02
Re-enable ThinLTO on macOS. Add a new patch to ensure N-API entry
points aren't stripped by ThinLTO. Copy the `__attribute__((used))`
approach from nodejs/node#49037 .
@ckerr ckerr force-pushed the fix/reland-thin-lto-mac branch from 3bc4823 to 9a99741 Compare May 16, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant