[vz-dev] [volkszaehler/vzlogger] 9eddc1: fix cross-compiling
GitHub
noreply at github.com
Tue Sep 26 12:49:12 CEST 2017
Branch: refs/heads/master
Home: https://github.com/volkszaehler/vzlogger
Commit: 9eddc1b40ba5c3337a18635fbf4912ae3c9c8db3
https://github.com/volkszaehler/vzlogger/commit/9eddc1b40ba5c3337a18635fbf4912ae3c9c8db3
Author: Hannes Schmelzer <hannes.schmelzer at br-automation.com>
Date: 2017-09-26 (Tue, 26 Sep 2017)
Changed paths:
M modules/CompilerFlags.cmake
Log Message:
-----------
fix cross-compiling
The cmake module 'CompilerFlags' trys to run some build output, which
doesn't work in cross-compiling mode (for example building on a x86 host
we cannot run ARM binaries there).
We modify therefore the check in case of cross-compiling into a simple
"does-compile" check rather then try running the binary.
Behaviour on native build ist the same as before.
Signed-off-by: Hannes Schmelzer <oe5hpm at oevsv.at>
Commit: 80b8511f78c37f1c19ec5bb5d3bc57c978255860
https://github.com/volkszaehler/vzlogger/commit/80b8511f78c37f1c19ec5bb5d3bc57c978255860
Author: andig <cpuidle at gmx.de>
Date: 2017-09-26 (Tue, 26 Sep 2017)
Changed paths:
M modules/CompilerFlags.cmake
Log Message:
-----------
Merge pull request #328 from oe5hpm/fix-cross-compile
Fix cross-compiling (#328)
Compare: https://github.com/volkszaehler/vzlogger/compare/24a36c5d2931...80b8511f78c3
More information about the volkszaehler-dev
mailing list