[Buildroot] [PATCH 1/1] civetweb: fix build without sync

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 6 20:45:04 UTC 2018


Hello,

On Tue,  4 Dec 2018 22:15:36 +0100, Fabrice Fontaine wrote:
> If BR2_TOOLCHAIN_HAS_SYNC_4 is not set, define -DNO_ATOMICS=1 to
> fallback on lock
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/7b3bc71d64aedf617dde35798099e16d7ae46713
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/civetweb/civetweb.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
> index 4c3c443db7..73706b03a6 100644
> --- a/package/civetweb/civetweb.mk
> +++ b/package/civetweb/civetweb.mk
> @@ -21,6 +21,10 @@ CIVETWEB_INSTALL_OPTS = \
>  	HTMLDIR="$(TARGET_DIR)$(CIVETWEB_HTMLDIR)" \
>  	SYSCONFDIR="$(TARGET_DIR)$(CIVETWEB_SYSCONFDIR)"
>  
> +ifneq ($(BR2_TOOLCHAIN_HAS_SYNC_4),y)

I changed to:

ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),)

and applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list