Skip to content

build(client/windows): fix potential cgo unrecognized linker flag -tsaware#2720

Merged
jyyi1 merged 2 commits intomasterfrom
junyi/fix-win-cross-build
Mar 3, 2026
Merged

build(client/windows): fix potential cgo unrecognized linker flag -tsaware#2720
jyyi1 merged 2 commits intomasterfrom
junyi/fix-win-cross-build

Conversation

@jyyi1
Copy link
Contributor

@jyyi1 jyyi1 commented Mar 2, 2026

The -tsaware flag is a specific flag in Visual C++ compiler, which is not supported on macOS. So I force zig to use the gnu compiler instead of VC.

@jyyi1 jyyi1 requested a review from a team as a code owner March 2, 2026 16:12
@jyyi1 jyyi1 requested review from fortuna and ohnorobo March 2, 2026 16:12
@jyyi1 jyyi1 changed the title build(windows): fix potential cgo unrecognized linker flag -tsaware build(client/windows): fix potential cgo unrecognized linker flag -tsaware Mar 3, 2026
@jyyi1 jyyi1 merged commit a4f2a07 into master Mar 3, 2026
23 checks passed
@jyyi1 jyyi1 deleted the junyi/fix-win-cross-build branch March 3, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants