]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
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)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 26 Nov 2017 21:25:23 +0000 (22:25 +0100)
commit922497b4b9a667ff254ccbd9de23c8e18d88e4ef
treece47cffb79804f864f6dd5ba9a9d151cdbacd682
parenta8eb60648adf9855fea8f9a395c3c192c0b04d35
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>
(cherry picked from commit bdd8475b90fa46644149d34bf852b213ec60ce71)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/collectd/collectd.mk