From patchwork Fri Oct 16 06:43:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1383093 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.136; helo=silver.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=lcaFoaO2; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CCGnm38p9z9sTD for ; Fri, 16 Oct 2020 17:43:40 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 824BF2E2A9; Fri, 16 Oct 2020 06:43:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0iLZZa69nVku; Fri, 16 Oct 2020 06:43:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0D2382E3EC; Fri, 16 Oct 2020 06:43:35 +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 71D3D1BF300 for ; Fri, 16 Oct 2020 06:43:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6EBF088883 for ; Fri, 16 Oct 2020 06:43:33 +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 yZdIoFPf7iQf for ; Fri, 16 Oct 2020 06:43:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by fraxinus.osuosl.org (Postfix) with ESMTPS id ED6A288882 for ; Fri, 16 Oct 2020 06:43:31 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id h5so1400003wrv.7 for ; Thu, 15 Oct 2020 23:43:31 -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=ZVJVMgzOZBEWdvCQxEOXVLPCg3LbEvo7eEHvisLUEx0=; b=lcaFoaO2KEgtMVguG/IxbapFO2BhV92Ul6M7WV1gfjjsud1Sbzup9k3xnWPyHmvDYe Xfu5GqBJxYbR15meZNfnAd8O5LvAdBFkdwSyotNK8ziB4441cB0OSIf7PImijnvaz9gK oM54RUFWgbAQIP7R10AyHtX6ZylZWSXsp2iSG8ElHkeIdWJbkyFlVwGjW5wKcYiqKQSW lRQwfQiO5e0DiolCrbLURBGBjfThDnK8qkz58BYFViqEsWVRdL2GxcIwRXaJ0lwB8yUG nYlsOCluMnO137TOR5Y4K7QglRDGA47X8RZeqq+QoxZQOfZBV0WhuvourGL16OIq/SxV x0dw== 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=ZVJVMgzOZBEWdvCQxEOXVLPCg3LbEvo7eEHvisLUEx0=; b=WzyuOkEgNMaU8eLSi24nq7vJNtoiSZApRsbDifkDUWx45Z2+38K3eGftgjrT8mfO/w 0IVYGJTSeNn4/Sq1p6G8wzM75yoCh/KvPTn5RzJRcUYT9h3kIf/4d+jk0H+PxX2qPtkD pg4CoM5vZ3PfuFBHfOl85n6kNFR4boS+I12D1GwvBM41ETD3L7Umm1eQjqtHKzRG0nWW 3ZCEJBtlTfW8uF6wzg3fbm1QJ7mtzw7komHCV7yxgOr1HPKsDW917f9GeCYJ5pjZd9mq pBS961y4vFzBox5kJ2K8vNelc4Ev92R+QOUifWh8xiE/SexmpOuePg0DPxahuxNOU89k 6dMA== X-Gm-Message-State: AOAM530a7/DtMJs0AKfs36uiduUUKr0wJdDM2kKzlT+eRjYqJXllUAkV ot2UxbJEAnDs3uMpEoEKSF378UCMejwtbQ== X-Google-Smtp-Source: ABdhPJx6B8AClOWZxVEFxfbktwG/8igr34R9ivjNXMu5efBCYIb49sHdU27hRlGcX8kjgKDIoMDpNQ== X-Received: by 2002:a5d:6a85:: with SMTP id s5mr2194383wru.90.1602830610277; Thu, 15 Oct 2020 23:43:30 -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 u2sm1580806wme.1.2020.10.15.23.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 23:43:29 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 16 Oct 2020 08:43:20 +0200 Message-Id: <20201016064320.1980661-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/kismet: link with libatomic 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fix build of kismet-2020-09-R3 with riscv64 Fixes: - http://autobuild.buildroot.org/results/9c3d56ef837c7c5bfbb34a0ec51b349108e201b1 Signed-off-by: Fabrice Fontaine --- package/kismet/kismet.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/kismet/kismet.mk b/package/kismet/kismet.mk index 853dabf106..54d014021f 100644 --- a/package/kismet/kismet.mk +++ b/package/kismet/kismet.mk @@ -27,6 +27,10 @@ endif KISMET_CONF_ENV += CXXFLAGS="$(KISMET_CXXFLAGS)" +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KISMET_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_PACKAGE_LIBCAP),y) KISMET_DEPENDENCIES += libcap KISMET_CONF_OPTS += --enable-libcap