package/pkcs11-helper: fix build without threads
PATCH 1/1 package/pkcs11-helper: fix build without threads
Use --{en,dis}able-{threading,slotevent} to fix build without threads
Fixes:
- http://autobuild.buildroot.org/results/d6eefca3ab1fb86e148e998238eed1df2310775f
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/pkcs11-helper/pkcs11-helper.mk | 10 ++++++++++ 1 file changed, 10 insertions(+)
package/pkcs11-helper/pkcs11-helper.mk +10 -0
@@ -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))
Signature · 1 line
2.26.2
Yann E. MORIN
AppliedPATCH 1/1 package/pkcs11-helper: fix build without threads
Fabrice, All,
On 2020-05-01 12:27 +0200, Fabrice Fontaine spake thusly:
Quoted 6 lines
Use --{en,dis}able-{threading,slotevent} to fix build without threads
Fixes:
- http://autobuild.buildroot.org/results/d6eefca3ab1fb86e148e998238eed1df2310775fSigned-off-by Fabrice Fontaine <[email protected]>
Applied to master, with two little changes: move earlier; use single-line assignments. Thanks!
Regards,
Yann E. MORIN.
Quoted 30 lines
--- package/pkcs11-helper/pkcs11-helper.mk | 10 ++++++++++ 1 file changed, 10 insertions(+)package/pkcs11-helper/pkcs11-helper.mk +10
-0@@ -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))Signature · 6 lines
2.26.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'