gpsd: fix cross platform compilation
authorDavid Thornley <redacted>
Thu, 22 Sep 2016 03:11:25 +0000 (13:11 +1000)
committerDavid Thornley <redacted>
Sun, 25 Sep 2016 23:48:46 +0000 (09:48 +1000)
commit4ed704b4b47b6ab5a21d439ec7ab84c4aea1433a
tree6720a9758672ab9245735d349b27cf1d2cb55fc7
parent7485e98e68a17a4b37f0f2aa5f811517cf736907
gpsd: fix cross platform compilation

In SConstruct the set of executables in the devenv variable should be adjusted to use the cross compile toolchain (as opposed to host's executables).
Achieved by setting target option to the toolchain prefix which corrects compilation on macOS.

Note, TARGET_CROSS has to have the hyphen stripped as SConstruct uses the target variable with an implied hyphen (env['target'] + '-' + toolname)

Signed-off-by: David Thornley <redacted>
utils/gpsd/Makefile
git clone https://git.99rst.org/PROJECT