package/botan: fix uclibc build
getentropy is enabled by default since version 3.0 and8642f2a99d
and explicit_bzero is also enabled since version 3.0 ande6819a380f
resulting in the following build failure since bump to version 3.2.0 in commit2f8feb6620
: src/lib/entropy/getentropy/getentropy.cpp:26:9: error: '::getentropy' has not been declared; did you mean 'Getentropy'? 26 | if(::getentropy(buf.data(), buf.size()) == 0) { | ^~~~~~~~~~ | Getentropy Fixes:2f8feb6620
- http://autobuild.buildroot.org/results/d58c4730c770467b42af426545dd917ecc5fed17 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
1140bfd950
commit
c2d218eb72
@ -49,7 +49,7 @@ BOTAN_CONF_OPTS += --without-stack-protector
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
BOTAN_CONF_OPTS += --without-os-feature=getauxval
|
||||
BOTAN_CONF_OPTS += --without-os-feature=explicit_bzero,getauxval,getentropy
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BOOST_FILESYSTEM)$(BR2_PACKAGE_BOOST_SYSTEM),yy)
|
||||
|
Loading…
Reference in New Issue
Block a user