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

Avoid parsing -o filename except when linking. NFC #23303

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jan 5, 2025

This allows the -o flag that to be passed directly through to clang like all the other arguments when just compiling.

In doing this we do loose one old warning about using the .bc file extension: .bc output file suffix used without -flto or -emit-llvm. Consider using .o extension since emcc will output an object file, not a bitcode file'.

@sbc100 sbc100 requested a review from kripken January 5, 2025 21:10
This allows the `-o` flag that to be passed directly through to clang
like all the other arguments when just compiling.
@sbc100 sbc100 removed the request for review from kripken January 6, 2025 16:45
@sbc100 sbc100 self-assigned this Jan 6, 2025
@sbc100 sbc100 marked this pull request as draft January 6, 2025 16:45
@sbc100
Copy link
Collaborator Author

sbc100 commented Jan 6, 2025

Converted to draft for now

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.

1 participant