package/collectd: Specify FP layout based on endianness
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 7 Nov 2017 20:04:42 +0000 (12:04 -0800)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Nov 2017 22:31:14 +0000 (23:31 +0100)
commitbdd8475b90fa46644149d34bf852b213ec60ce71
tree759d60b72f1c4072e78d351351cecc7e7cc13fe0
parent636f4d81ff4be52dc7818c51b9d479a9cb6ecea1
package/collectd: Specify FP layout based on endianness

Big-endian CPUs store floating point as big endian (at lest majority
of them do), so, in order for 'network' plugin to work correctly (and
potentially any user of htond() in collectd's codebase),
--with-fp-layout=endianflip as opposed to --with-fp-layout=nothing
needs to be specified during configuration phase.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/collectd/collectd.mk