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

does not cross compile due to wiringpi makefile setup #26

Open
tthef opened this issue May 5, 2015 · 1 comment
Open

does not cross compile due to wiringpi makefile setup #26

tthef opened this issue May 5, 2015 · 1 comment
Milestone

Comments

@tthef
Copy link

tthef commented May 5, 2015

wiring-pi does not crosscompile; the problem is that wiringpi hardcodes CC=gcc in its makefiles, so the wiringpi bits get always built with the host compiler. A possible solution is to add another patch that fixes that assingment to 'CC ?= gcc' and then set CC in the environment (i.e., install.sh) to point at CC.target.

@nekuz0r
Copy link
Collaborator

nekuz0r commented May 6, 2015

Feel free to make a PR :)

@nekuz0r nekuz0r added this to the v2.1.1 milestone Jul 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants