openssl: disable libressl on uClibc noMMU
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Nov 2017 09:54:21 +0000 (10:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 6 Nov 2017 14:17:45 +0000 (15:17 +0100)
commit1f1a242e62c0654893e6563d09eb90a2ae807334
tree89ef3b103ba05ecf0733d30b2286503604743de0
parent35bf58d3101a04d518d90d237ea9bc11baa1398a
openssl: disable libressl on uClibc noMMU

uClibc doesn't implement __register_atfork() on noMMU systems, causing
a build failure of libressl. Since openssl is available as an
alternative on such platforms, we just disable libressl on
uClibc/noMMU systems.

Fixes:

/home/thomas/projets/buildroot/output/build/libressl-2.5.5/crypto/.libs/libcrypto.a(arc4random.o): In function `_rs_init.part.1':
arc4random.c:(.text+0x74): undefined reference to `__register_atfork'
collect2: error: ld returned 1 exit status

This build issue is not visible in the autobuilders, because libressl
is only selectable through a choice, which isn't randomized by the
autobuilder logic.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openssl/Config.in