libowfat: fix build on macos
authorSergey V. Lobanov <redacted>
Mon, 31 Jan 2022 00:09:55 +0000 (03:09 +0300)
committerDaniel Golle <redacted>
Mon, 31 Jan 2022 15:06:20 +0000 (15:06 +0000)
commitc53b7ba4497dc0187dcd68197589de51185636b5
tree4732cef8930b528f9176dfa5f57a85d3f48eba4d
parentc61bad460e079ee0ee31a4dc09708e015a47e087
libowfat: fix build on macos

libowfat target-build fails on macos due to using system `ar` and
`ranlib` tools not compatible with the objects generated by
OpenWrt GCC toolchain.

This patch specifies CROSS= make flag that is used as a prefix for
`ar` and `ranlib` tools.

This patch also specifies CCC= make flag due to CCC= has invalid
value after specifying CROSS= make flag (CCC=$(CROSS)$(CC))

Signed-off-by: Sergey V. Lobanov <redacted>
libs/libowfat/Makefile
git clone https://git.99rst.org/PROJECT