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)
committerPetr Štetiar <ynezz@true.cz>
Tue, 2 Feb 2021 09:09:19 +0000 (10:09 +0100)
commite9d2aa9dc6a5663e3d43fc817d276582842134bb
tree63a79773ee20ccf30005e155f78f16c63937fc44
parent2044c01de8f214c43c6c13dcb538e3730f97a7f8
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]