mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/libcap-ng: disable pthread support on nommu
Fixes: https://autobuild.buildroot.net/results/9c40c86a42882a6d56eb6d6d1418781a980b6f8f/ The pthread support uses pthread_atfork(), which is not available on nommu: cap-ng.c: In function 'init_lib': cap-ng.c:225:9: error: implicit declaration of function 'pthread_atfork'; did you mean 'pthread_join'? [-Wimplicit-function-declaration] So disable pthread support on nommu to fix that. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
53a8616460
commit
59fe7547a4
@@ -14,6 +14,11 @@ LIBCAP_NG_INSTALL_STAGING = YES
|
||||
LIBCAP_NG_CONF_ENV = ac_cv_prog_swig_found=no
|
||||
LIBCAP_NG_CONF_OPTS = --without-python3
|
||||
|
||||
# pthread support uses pthread_atfork, which is not available on nommu
|
||||
ifneq ($(BR2_USE_MMU),y)
|
||||
LIBCAP_NG_CONF_ENV += ac_cv_header_pthread_h=no
|
||||
endif
|
||||
|
||||
HOST_LIBCAP_NG_CONF_ENV = ac_cv_prog_swig_found=no
|
||||
HOST_LIBCAP_NG_CONF_OPTS = --without-python3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user