Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop setting -static if crt-static is used in gcc #1077

Closed
wants to merge 2 commits into from

Conversation

NobodyXu
Copy link
Collaborator

@NobodyXu NobodyXu commented Jun 2, 2024

Fixed #1074

Using -static here doesn't make only compile and does not do any linking, while this technically breaks some use of cc, which converts the compiler to a command and use it to generate statically linked binary, it practices they always need to add -static on clang/msvc compiler.

@NobodyXu NobodyXu closed this Jul 8, 2024
@NobodyXu NobodyXu deleted the NobodyXu-patch-1 branch July 8, 2024 11: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.

crt-static is only translated to -static under gcc, not clang
1 participant