* [Buildroot] [PATCH 1/1] civetweb: fix build without sync
@ 2018-12-04 21:15 Fabrice Fontaine
2018-12-06 20:45 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2018-12-04 21:15 UTC (permalink / raw)
To: buildroot
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@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)
+CIVETWEB_COPT += -DNO_ATOMICS=1
+endif
+
ifeq ($(BR2_PACKAGE_CIVETWEB_WITH_LUA),y)
CIVETWEB_CONF_OPTS += WITH_LUA=1
CIVETWEB_LIBS += -ldl
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] civetweb: fix build without sync
2018-12-04 21:15 [Buildroot] [PATCH 1/1] civetweb: fix build without sync Fabrice Fontaine
@ 2018-12-06 20:45 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-12-06 20:45 UTC (permalink / raw)
To: buildroot
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-06 20:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 21:15 [Buildroot] [PATCH 1/1] civetweb: fix build without sync Fabrice Fontaine
2018-12-06 20:45 ` Thomas Petazzoni
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.