From patchwork Sun Sep 27 12:58:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1372056 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ha1Tkt1M; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bzm1S5Kznz9sS8 for ; Sun, 27 Sep 2020 22:58:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8001C84530; Sun, 27 Sep 2020 12:58:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yTjtpwJ7Ue6E; Sun, 27 Sep 2020 12:58:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2338D844A0; Sun, 27 Sep 2020 12:58:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id DE42E1BF40D for ; Sun, 27 Sep 2020 12:58:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D7F40844A0 for ; Sun, 27 Sep 2020 12:58:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ylzx2pfCr1zN for ; Sun, 27 Sep 2020 12:58:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by fraxinus.osuosl.org (Postfix) with ESMTPS id EF4B884465 for ; Sun, 27 Sep 2020 12:58:44 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id w5so8719547wrp.8 for ; Sun, 27 Sep 2020 05:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E5ZBsS20e0ZIaOgd3P7vgmPoszZ+o36p9fySF6swhIY=; b=Ha1Tkt1MdTruU8zrqqg62D17meY5PISr3lYyXYiSeoSkRJuyeEJIiSgNzDAwNisP8g AHKwKTr8gW8+U2wI7C+3nbvkkSECCpFTpqd3hY9mYZUH0Qh8EKbopguJsDEcaGDI/hTz e9WGThMgiK9kwciyq7bxVXjuWVfyr9N63LInvgNljmN6w2qS+NPNQqJiCQQje/If4jU+ eMy6K5k56LdP4yj7V5NmkK+CbnVSpLQ6P7unbfrLrDu84bhR4oYNhVb96k+z74k71Cw2 +YSdnZzlQW/5y24DBvMphPdkDP1fjgSjXj9x0A/3v+ooZeud1cdpAnihBryXPqWzO7Ki bHQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E5ZBsS20e0ZIaOgd3P7vgmPoszZ+o36p9fySF6swhIY=; b=nC53OofbUWiaj9qp3nE68bCIl7mjoiOO5zQhKSf6SoGhpYOonqVym86iZhpdccJkVO 3+mE/qwfYDrbzWglRtXJOg+upuU2bFf7Um7n0k3an8Xeaqgp1yEubbBngub7X/ChkHB7 4jWvSBp/5VqZXhyNIu+wN9p9Air6Sl76AvRzA4JTYOExVctTHRUiT+DSE2pU3i/kFhvs RXFSdwTOaAOYLXTQ2Ukfrb04Ice8gw1TzYOtYnh3HfZeSDeg8l1hnhMenRmSg1XIizNg EjhiCJRbj6T8B3b72WHZ+PrdHRxK0SzfTEz4qs3FmLUFPbWgGh5lhYzW3yeir92/Ioqn H2qg== X-Gm-Message-State: AOAM5300+HsUU3ieCg3bOtwOUD1PxrYVVv0bwIg9eY++JBiMxkBKPV+W zHiolid/jPZ6HodSZCfy4ywbhoPAZ7Y= X-Google-Smtp-Source: ABdhPJz1ooZaAGQpzdc74apTvxQEq96m27/sy2mLDNan80+IVefrT27YE46db/gKIYC0RP7GE7KOtw== X-Received: by 2002:adf:ef0a:: with SMTP id e10mr13789062wro.362.1601211523114; Sun, 27 Sep 2020 05:58:43 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id m13sm9555187wrr.74.2020.09.27.05.58.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2020 05:58:42 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 27 Sep 2020 14:58:33 +0200 Message-Id: <20200927125833.1892345-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/frr: link with latomic if needed X-BeenThere: buildroot@busybox.net 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: , Cc: Vadim Kochan , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/c98/c989f58eabd8f012798ade75e5b0f2a93b91c82d Signed-off-by: Fabrice Fontaine --- package/frr/frr.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/frr/frr.mk b/package/frr/frr.mk index a77afb52e4..6beaf776ac 100644 --- a/package/frr/frr.mk +++ b/package/frr/frr.mk @@ -32,6 +32,10 @@ FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \ HOST_FRR_CONF_OPTS = --enable-clippy-only +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +FRR_CONF_ENV += LIBS=-latomic +endif + define HOST_FRR_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/lib/clippy $(HOST_DIR)/bin/clippy endef