All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/liburcu: fix build without wchar
@ 2021-09-29 16:25 Fabrice Fontaine
  2021-10-11 21:19 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-09-29 16:25 UTC (permalink / raw)
  To: buildroot; +Cc: Philippe Proulx, Fabrice Fontaine

Fix the following build failure raised since bump to version 0.13.0 in
commit 9cedbcf494e647371f92368014d31091848772bb and
https://github.com/urcu/userspace-rcu/commit/8b2f0590d94f6bc3f1d31bd3e0c9ea744b5b55cb:

configure: error: The compiler does not support C99

Fixes:
 - http://autobuild.buildroot.org/results/435d127728b014d565dd75861f87e18716f9fe5e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/liburcu/liburcu.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
index c0a44764f1..e29784abe4 100644
--- a/package/liburcu/liburcu.mk
+++ b/package/liburcu/liburcu.mk
@@ -12,4 +12,8 @@ LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE
 
 LIBURCU_INSTALL_STAGING = YES
 
+# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
+# provided by autoconf relies on wchar_t.
+LIBURCU_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
+
 $(eval $(autotools-package))
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/liburcu: fix build without wchar
  2021-09-29 16:25 [Buildroot] [PATCH 1/1] package/liburcu: fix build without wchar Fabrice Fontaine
@ 2021-10-11 21:19 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-10-11 21:19 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Philippe Proulx



On 29/09/2021 18:25, Fabrice Fontaine wrote:
> Fix the following build failure raised since bump to version 0.13.0 in
> commit 9cedbcf494e647371f92368014d31091848772bb and
> https://github.com/urcu/userspace-rcu/commit/8b2f0590d94f6bc3f1d31bd3e0c9ea744b5b55cb:
> 
> configure: error: The compiler does not support C99
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/435d127728b014d565dd75861f87e18716f9fe5e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/liburcu/liburcu.mk | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
> index c0a44764f1..e29784abe4 100644
> --- a/package/liburcu/liburcu.mk
> +++ b/package/liburcu/liburcu.mk
> @@ -12,4 +12,8 @@ LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE
>   
>   LIBURCU_INSTALL_STAGING = YES
>   
> +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
> +# provided by autoconf relies on wchar_t.
> +LIBURCU_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
> +
>   $(eval $(autotools-package))
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-11 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 16:25 [Buildroot] [PATCH 1/1] package/liburcu: fix build without wchar Fabrice Fontaine
2021-10-11 21:19 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.