ipvsadm: fix build on macos
authorSergey V. Lobanov <sergey@lobanov.in>
Fri, 4 Feb 2022 22:18:27 +0000 (01:18 +0300)
committerRosen Penev <rosenp@gmail.com>
Sat, 12 Feb 2022 23:18:06 +0000 (15:18 -0800)
commitac6243709997243fe8d254fdb9c49f7add90e450
tree6fccffe99a0e66d8da828b57d697a13b053c6df8
parent11a79e9aa21afcb17fedf24d214bc1ed20d8be86
ipvsadm: fix build on macos

ipvsadm build fails on macos due to libipvs Makefiles uses system
`ar` that is not compatible with the objectes generated by OpenWrt
GCC Toolchain.

This commit adds patch to allow ar redefining
This commit modifes an old patch (removing CC=gcc is not required
due to it is redefinable)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
net/ipvsadm/Makefile
net/ipvsadm/patches/001-Makefile.patch
net/ipvsadm/patches/100_allow_to_redefine_ar_libipvs.patch [new file with mode: 0644]