[Buildroot] [PATCH 1/1] package/pkcs11-helper: fix build without threads
Yann E. MORIN
yann.morin.1998 at free.fr
Fri May 1 12:11:49 UTC 2020
Fabrice, All,
On 2020-05-01 12:27 +0200, Fabrice Fontaine spake thusly:
> Use --{en,dis}able-{threading,slotevent} to fix build without threads
>
> Fixes:
> - http://autobuild.buildroot.org/results/d6eefca3ab1fb86e148e998238eed1df2310775f
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Applied to master, with two little changes: move earlier; use
single-line assignments. Thanks!
Regards,
Yann E. MORIN.
> ---
> package/pkcs11-helper/pkcs11-helper.mk | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/package/pkcs11-helper/pkcs11-helper.mk b/package/pkcs11-helper/pkcs11-helper.mk
> index a95340daf7..4d0974dd0f 100644
> --- a/package/pkcs11-helper/pkcs11-helper.mk
> +++ b/package/pkcs11-helper/pkcs11-helper.mk
> @@ -48,4 +48,14 @@ PKCS11_HELPER_CONF_OPTS += \
> --disable-crypto-engine-openssl
> endif
>
> +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
> +PKCS11_HELPER_CONF_OPTS += \
> + --enable-slotevent \
> + --enable-threading
> +else
> +PKCS11_HELPER_CONF_OPTS += \
> + --disable-slotevent \
> + --disable-threading
> +endif
> +
> $(eval $(autotools-package))
> --
> 2.26.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list