cyberchallenge-modem/buildroot/board/tiesse/tgr/packages-patches/php/1000-disable-aarch64-crc32-not-available-in-uclibc.patch

16 lines
618 B
Diff

--- php/configure.ac 2020-09-09 11:43:11.885354027 +0200
+++ php/configure.ac 2020-09-09 11:43:44.893273503 +0200
@@ -720,12 +720,6 @@
PHP_CRYPT_R_STYLE
fi
-AC_CACHE_CHECK([for aarch64 CRC32 API], ac_cv_func___crc32d,
-[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <arm_acle.h>]],[[__crc32d(0, 0);]])],[ac_cv_func___crc32d=yes],[ac_cv_func___crc32d="no"])])
-if test "$ac_cv_func___crc32d" = "yes"; then
- AC_DEFINE([HAVE_AARCH64_CRC32], [1], [Define when aarch64 CRC32 API is available.])
-fi
-
dnl Check for asm goto support.
AC_CACHE_CHECK([for asm goto], ac_cv__asm_goto,
[AC_RUN_IFELSE([AC_LANG_SOURCE([[