From patchwork Fri Mar 10 17:06:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1755398 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::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PYCBQ6Ny4z1yWp for ; Sat, 11 Mar 2023 04:06:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0449541B8C; Fri, 10 Mar 2023 17:06:20 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0449541B8C X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id heKOjuBZDZ-Y; Fri, 10 Mar 2023 17:06:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 1858241B8D; Fri, 10 Mar 2023 17:06:18 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1858241B8D X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8D6851BF3B8 for ; Fri, 10 Mar 2023 17:06:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6834B404AF for ; Fri, 10 Mar 2023 17:06:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 6834B404AF X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GkfsbT_8kwQV for ; Fri, 10 Mar 2023 17:06:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 6C3A3400AF Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by smtp2.osuosl.org (Postfix) with ESMTPS id 6C3A3400AF for ; Fri, 10 Mar 2023 17:06:15 +0000 (UTC) Received: from fwd76.dcpf.telekom.de (fwd76.aul.t-online.de [10.223.144.102]) by mailout10.t-online.de (Postfix) with SMTP id 9129B5D7C for ; Fri, 10 Mar 2023 18:06:12 +0100 (CET) Received: from fli4l.lan.fli4l ([84.161.179.197]) by fwd76.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1pagC4-03ZMMz0; Fri, 10 Mar 2023 18:06:12 +0100 Received: from bruckner.lan.fli4l ([192.168.1.1]:44514) by fli4l.lan.fli4l with esmtp (Exim 4.96) (envelope-from ) id 1pagC3-0001nM-2b for buildroot@buildroot.org; Fri, 10 Mar 2023 18:06:11 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 10 Mar 2023 18:06:11 +0100 Message-Id: <20230310170611.425280-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1678467972-E5D7A2C2-953D8CDB/0/0 CLEAN NORMAL X-TOI-MSGID: b4d01055-60cc-4628-a09e-1daae2c8f51b Subject: [Buildroot] [PATCH 1/1] package/php: link with -latomic if needed 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.net/results/112/112ec5cb0de6f55a29caf7ec563367afd28eb8a0/ 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 bd7d5a8c3c..49f02d7f20 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -35,6 +35,10 @@ ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy) PHP_STATIC_LIBS += -lpthread endif +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +PHP_EXTRA_LIBS += -latomic +endif + ifeq ($(call qstrip,$(BR2_TARGET_LOCALTIME)),) PHP_LOCALTIME = UTC else