Skip to content

Conversation

@oliverlee
Copy link
Contributor

cxxopts: flags used only for compiling C++ targets
conlyopts: flags used only for compiling C targets
dbg_compile_flags: flags used when compiling in dbg mode
opt_compile_flags: flags used when compiling in opt mode
opt_link_flags: flags used when linking in opt mode

`cxxopts`: flags used only for compiling C++ targets
`conlyopts`: flags used only for compiling C targets
`dbg_compile_flags`: flags used when compiling in `dbg` mode
`opt_compile_flags`: flags used when compiling in `opt` mode
`opt_link_flags`: flags used when linking in `opt` mode
@oliverlee oliverlee force-pushed the additional-toolchain-opts branch from bbc5b9b to aa19a5c Compare July 16, 2025 06:19
@oliverlee
Copy link
Contributor Author

I'm not sure why tests started failing with:

In file included from test/aarch64-none-elf/library.cpp:1:
test/aarch64-none-elf/library.h:1:10: fatal error: stdint.h: No such file or directory
    1 | #include <stdint.h>
      |          ^~~~~~~~~~

after adding additional options where the defaults don't change anything.

I changed include_std to default to True, which the tests seem to assume.

@hexdae
Copy link
Owner

hexdae commented Jul 27, 2025

Hey @oliverlee, sorry I have been heads down on @diodeinc this week, will review soon

@oliverlee
Copy link
Contributor Author

No worries and thanks for the notice.

@hexdae
Copy link
Owner

hexdae commented Aug 15, 2025

This looks good to me, should we merge @oliverlee?

@oliverlee
Copy link
Contributor Author

I think this PR should be okay. I've been using it in another project without issues.

@hexdae hexdae merged commit c1a148a into hexdae:master Aug 15, 2025
6 checks passed
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