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)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 Jan 2021 21:10:20 +0000 (22:10 +0100)
commite7d0d2e9dcaa0ff1197fb7beee139b6a5bd35c79
treedf0c9835f8f25e20ce6773c616b4b3121151259b
parentac25b64350ef2b40bf975e617a3a1b33959a697e
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>
package/libs/wolfssl/patches/110-Fix-linking-against-hostapd-with-LTO.patch [new file with mode: 0644]