All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/php: Fix build on arm
@ 2024-08-25  8:30 Bernd Kuhls
  2024-08-25  9:55 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2024-08-25  8:30 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.org/results/5e8ef91d84018ccdf85f2156292feb3460bfe698/

Without this patch configure wrongfully detects aarch64 support:

    checking for aarch64 CRC32 API... yes

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/php/php.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/php/php.mk b/package/php/php.mk
index 0487c03b61..6266ef4e7f 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -64,6 +64,10 @@ PHP_CONF_ENV += ac_cv_c_bigendian_php=yes
 else
 PHP_CONF_ENV += ac_cv_c_bigendian_php=no
 endif
+# fix configure check for aarch64 CRC32 API
+ifeq ($(BR2_arm)$(BR2_armeb),y)
+PHP_CONF_ENV += ac_cv_func___crc32d=no
+endif
 PHP_CONFIG_SCRIPTS = php-config
 
 PHP_CFLAGS = $(TARGET_CFLAGS)
-- 
2.39.2

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

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

end of thread, other threads:[~2024-08-25  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-25  8:30 [Buildroot] [PATCH 1/1] package/php: Fix build on arm Bernd Kuhls
2024-08-25  9:55 ` Thomas Petazzoni via buildroot

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.