* [Buildroot] [PATCH 1/1] package/php-apcu: fix build without __sync_*_4 intrinsics
@ 2022-01-15 11:16 Fabrice Fontaine
2022-02-01 21:44 ` Arnout Vandecappelle
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-01-15 11:16 UTC (permalink / raw)
To: buildroot; +Cc: Hervé Codina, Fabrice Fontaine
Fix the following build failure raised since the addition of the package
in commit 8ddeeffa186d8bce875ac713c1e71483c618842a:
configure: error: Compiler does not support atomics
--enable-apcu-rwlocks can't be used until
https://github.com/krakjoe/apcu/pull/430 is merged (and autoreconf does
not work either)
Fixes:
- http://autobuild.buildroot.org/results/efa/efa3b4406f87a1e9521b66f392a6fa19ac01f0cd/build-end.log
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/php-apcu/php-apcu.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/php-apcu/php-apcu.mk b/package/php-apcu/php-apcu.mk
index ce59611d8f..3ac062e772 100644
--- a/package/php-apcu/php-apcu.mk
+++ b/package/php-apcu/php-apcu.mk
@@ -22,4 +22,8 @@ define PHP_APCU_PHPIZE
endef
PHP_APCU_PRE_CONFIGURE_HOOKS += PHP_APCU_PHPIZE
+ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),)
+PHP_APCU_CONF_OPTS += --disable-apcu-rwlocks
+endif
+
$(eval $(autotools-package))
--
2.34.1
_______________________________________________
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/php-apcu: fix build without __sync_*_4 intrinsics
2022-01-15 11:16 [Buildroot] [PATCH 1/1] package/php-apcu: fix build without __sync_*_4 intrinsics Fabrice Fontaine
@ 2022-02-01 21:44 ` Arnout Vandecappelle
0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-02-01 21:44 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot; +Cc: Hervé Codina
On 15/01/2022 12:16, Fabrice Fontaine wrote:
> Fix the following build failure raised since the addition of the package
> in commit 8ddeeffa186d8bce875ac713c1e71483c618842a:
>
> configure: error: Compiler does not support atomics
>
> --enable-apcu-rwlocks can't be used until
> https://github.com/krakjoe/apcu/pull/430 is merged (and autoreconf does
> not work either)
>
> Fixes:
> - http://autobuild.buildroot.org/results/efa/efa3b4406f87a1e9521b66f392a6fa19ac01f0cd/build-end.log
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/php-apcu/php-apcu.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/php-apcu/php-apcu.mk b/package/php-apcu/php-apcu.mk
> index ce59611d8f..3ac062e772 100644
> --- a/package/php-apcu/php-apcu.mk
> +++ b/package/php-apcu/php-apcu.mk
> @@ -22,4 +22,8 @@ define PHP_APCU_PHPIZE
> endef
> PHP_APCU_PRE_CONFIGURE_HOOKS += PHP_APCU_PHPIZE
>
> +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),)
> +PHP_APCU_CONF_OPTS += --disable-apcu-rwlocks
> +endif
> +
> $(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:[~2022-02-01 21:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-15 11:16 [Buildroot] [PATCH 1/1] package/php-apcu: fix build without __sync_*_4 intrinsics Fabrice Fontaine
2022-02-01 21:44 ` 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.