From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/pkcs11-helper: fix build without threads
Date: Fri, 1 May 2020 14:11:49 +0200 [thread overview]
Message-ID: <20200501121149.GU11346@scaer> (raw)
In-Reply-To: <20200501102758.2136958-1-fontaine.fabrice@gmail.com>
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@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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2020-05-01 12:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-01 10:27 [Buildroot] [PATCH 1/1] package/pkcs11-helper: fix build without threads Fabrice Fontaine
2020-05-01 12:11 ` Yann E. MORIN [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-20 15:47 Fabrice Fontaine
2022-03-27 15:57 ` Arnout Vandecappelle
2022-03-30 20:02 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200501121149.GU11346@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox