From patchwork Sun Aug 25 08:30:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1976476 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Ws6TC1HtNz1ygH for ; Sun, 25 Aug 2024 18:30:54 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B9945605E3; Sun, 25 Aug 2024 08:30:52 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id h2wBxdOuPXQU; Sun, 25 Aug 2024 08:30:51 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org B624260684 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id B624260684; Sun, 25 Aug 2024 08:30:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 51E461BF40E for ; Sun, 25 Aug 2024 08:30:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3F6318109F for ; Sun, 25 Aug 2024 08:30:50 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id WjQ250SziQJ2 for ; Sun, 25 Aug 2024 08:30:49 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 2376681099 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2376681099 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2376681099 for ; Sun, 25 Aug 2024 08:30:49 +0000 (UTC) Received: from fli4l.lan.fli4l (p4fd6c25a.dip0.t-ipconnect.de [79.214.194.90]) by dd20012.kasserver.com (Postfix) with ESMTPSA id EE1B7A4C11E2 for ; Sun, 25 Aug 2024 10:30:41 +0200 (CEST) Received: from bruckner.lan.fli4l ([192.168.1.1]:54298) by fli4l.lan.fli4l with esmtp (Exim 4.98) (envelope-from ) id 1si8e1-000000001Vj-1HKb for buildroot@buildroot.org; Sun, 25 Aug 2024 08:30:41 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 25 Aug 2024 10:30:41 +0200 Message-Id: <20240825083041.1020638-1-bernd@kuhls.net> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spamd-Bar: + X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202406071026; t=1724574641; bh=TU8ICDnPtJzzt55z23TIVsR3uaAwLWNxBOSFlqVW9n8=; h=From:To:Subject:Date:From; b=FZCK2+VutUkzBxlMBFWbWa3DfkSakhreGFJ9SQWcbb9rEMqu23zs5XkRRZyjoWk/V NqtI7VWdO+SIxs7SHxXpi6PgjRuTRuLeFbXA7C3Qdk7pQXGpVfte03I/UWDHA5yYEm hKnduGdXt/0nEZ2o2PrPKA70Y+8hCULbpQzQiXRSURfOPKjsOq18mH0SfRxx/OqXnh syHYf8n2U9FWlJdp4olvbbAHbvTR3rmJl79mk/9a72uvzv6lO/5jp63AzNrE/nezA5 B1LY5B/sU/dunJ1UH1DFHtrvgYCAPe++0TzUN4LdXb5WB0v8gwken5Zm3Sbn+l32dz Iz/4HbU2OV9KQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202406071026 header.b=FZCK2+Vu Subject: [Buildroot] [PATCH 1/1] package/php: Fix build on arm X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "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 --- 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)