package/boost: fix RISC-V musl endian detection
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 3 Aug 2019 13:22:27 +0000 (15:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 3 Aug 2019 13:28:32 +0000 (15:28 +0200)
commit3b28ca0cf6eecc6e8297176c2c49d2312920fa17
tree3f60a4af4507745258b97e48f190942134a3773c
parent13d470fe91c6095f14e69ff319d2ac39fc0d3e43
package/boost: fix RISC-V musl endian detection

The recent addition of a RISC-V musl toolchain uncovered an issue in
Boost's endianness detection. Boost endianness detection only works
for C libraries that pretend to be glibc *or* if the architecture is
explicitly handled by Boost endian.h header. Neither were true for
RISC-V musl, so we slightly patch boost to fix this problem.

Fixes:

  http://autobuild.buildroot.net/results/a40b600a7d0fdb6a8a1ded7883b4936f120811f5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/boost/0004-add-riscv-endian-detection.patch [new file with mode: 0644]