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

Add compiler flag to suppress integer to pointer conversions #1

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

abayomi185
Copy link
Contributor

@abayomi185 abayomi185 commented Sep 3, 2024

I recently built riscv-gnu-toolchain for cross compilation with gcc 14.2.0 due to build issues. See riscv-collab/riscv-gnu-toolchain#1536

This change was needed to prevent multiple warnings and subsequently a failing build.

I also needed to declare the sysroot directory for bindgen to find the header files required to build wiringx. I am currently declaring this like so:

export BINDGEN_EXTRA_CLANG_ARGS='--sysroot /opt/riscv/sysroot'

Copy link
Owner

@Letronix624 Letronix624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate your contribution.

@Letronix624 Letronix624 merged commit 66a33ac into Letronix624:main Sep 3, 2024
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