WiringPi / WiringPi-Node

Node.js bindings to wiringPi
336 stars 94 forks source link

does not cross compile due to wiringpi makefile setup #26

Open tthef opened 9 years ago

tthef commented 9 years ago

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 commented 9 years ago

Feel free to make a PR :)