wolfssl: Fix hostapd build with wolfssl 4.6.0
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 Jan 2021 21:04:18 +0000 (22:04 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Wed, 17 Feb 2021 15:10:05 +0000 (15:10 +0000)
commit693091214f371d8e485c0b29667a10c9a8e978cc
tree18b4f04cee938f96c8c4d235b20989e53292b280
parent094121c6d65527104680e64d6a5df259d8ccf447
wolfssl: Fix hostapd build with wolfssl 4.6.0

This fixes the following build problem in hostapd:
mipsel-openwrt-linux-musl/bin/ld: /builder/shared-workdir/build/tmp/ccN4Wwer.ltrans7.ltrans.o: in function `crypto_ec_point_add':
<artificial>:(.text.crypto_ec_point_add+0x170): undefined reference to `ecc_projective_add_point'
mipsel-openwrt-linux-musl/bin/ld: <artificial>:(.text.crypto_ec_point_add+0x18c): undefined reference to `ecc_map'
mipsel-openwrt-linux-musl/bin/ld: /builder/shared-workdir/build/tmp/ccN4Wwer.ltrans7.ltrans.o: in function `crypto_ec_point_to_bin':
<artificial>:(.text.crypto_ec_point_to_bin+0x40): undefined reference to `ecc_map'

Fixes: ba40da9045f7 ("wolfssl: Update to v4.6.0-stable")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit e7d0d2e9dcaa0ff1197fb7beee139b6a5bd35c79)
package/libs/wolfssl/patches/110-Fix-linking-against-hostapd-with-LTO.patch [new file with mode: 0644]