Skip to content

newlib-nano: Add workaround for systems without nano includes.#9215

Closed
jcarrano wants to merge 1 commit intoRIOT-OS:masterfrom
jcarrano:newlib-nano-workaround
Closed

newlib-nano: Add workaround for systems without nano includes.#9215
jcarrano wants to merge 1 commit intoRIOT-OS:masterfrom
jcarrano:newlib-nano-workaround

Conversation

@jcarrano
Copy link
Copy Markdown
Contributor

Contribution description

Some systems (OSX, ArchLinux) do not ship separate headers for newlib nano. All the standard system headers for nano should be the same with the exception of newlib.h.

The result for these systems is that the NEWLIB_NANO_INCLUDE_DIR is empty and the include line is wrongly formed.

This is a workaroround that reverts to the old behavior of using the non-nano include path if NEWLIB_NANO_INCLUDE_DIR is empty.

Issues/PRs references

Fixes #9214, which was introduced by #9080 .

@jcarrano
Copy link
Copy Markdown
Contributor Author

@kYc0o Can you verify this is a fix for OSX?

@jcarrano
Copy link
Copy Markdown
Contributor Author

This is hacky, #9216 is a better solution.

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