From patchwork Mon Mar 19 06:02:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132011 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342534ljb; Sun, 18 Mar 2018 23:05:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELsHXoNnCXau1n2oaxug5KhmPJtCA0TBU/QFSTYW7lNI0mUsdIZhBDEHgCpyRd07krP27TcG X-Received: by 2002:a17:902:52c7:: with SMTP id a65-v6mr11188169pli.249.1521439533803; Sun, 18 Mar 2018 23:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439533; cv=none; d=google.com; s=arc-20160816; b=zlsa2GuG8z8gTCEdvEsWeIaFsmoGofYsunieLBUZMGH6GynMMxMmnUMOxu28lyxkKU ftK2DReFuwBeUIHnQNr3HY3Ph5zB8KMkz+rQhIu00j1FsfmRea6qEGGHtGk5YMHLZGsn MKpMmBLfmY3eWOhqzmJOCrqDUHO/CZeU1bZYeRMLT7NqiR2kMok7yRolbGmjOzb1LKTa P9L9w2POd9fK40FXBPWwsqjNFzAkAcpH2xkDzlvd7W6EwFGmr5P4ZueDPvJeFdu2dfD2 gi1zbswFh71swEA7DkypWsB4EBxH/RpzEMR/+lRt6nWV5w0zhY48bFmbTbXrPyolc4bu IISA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Cvzmb9dshqh0a0SVcCHTGdq7TanXrJ6TCOF7lCtXVY0=; b=QvPNuIvV+9E6ECSCsTg0c+ckSXsNOQmkHNKuJaIQ6uX9kkqXMBy1asj8ldWMDZhuie 0WvPERQr2rWeBkzkAl2mtbt7sFGkBe0bMislYDg4urxZMICPGsj+DjSts+50qjx4S5ki ffbZy1pIDK9gb+pxeGWk37VEQYTtx8QFg/KdDsaUP2Zeu/hVGQUcioeSsiJn+A+2hZ7w 2USec0Uhy+69jilU2x5Ekk/at24AwL5HTIdfbjPeqHdGl29D8oGH8rYzHKpO3OlbHmAx rSXbe3jL/nnx3fcqmfP4NxroYkNxUmT6KCgEfPywG3+iVgxkIRQUr7u6PtXraDAElMRR u7Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KtbPN3k1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b8-v6si12386081pll.146.2018.03.18.23.05.33; Sun, 18 Mar 2018 23:05:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KtbPN3k1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8E8957899C; Mon, 19 Mar 2018 06:04:09 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 13A3878931 for ; Mon, 19 Mar 2018 06:03:31 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id 68so6652123pfx.3 for ; Sun, 18 Mar 2018 23:03:33 -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:in-reply-to:references; bh=S6gCvMPejpWHuR6sb/Q3XW8XQx38xw6MEgTX6BXvC3Q=; b=KtbPN3k119zO7MLoYSl62xBoNvSBB8T9DPd/TIeFOSecSxFaciYSvWZ1A4O6EPjzGa /OyeWtXE4L16v/hACxZSnIt1yZMkZPhsL3xK4+zq8eC2NoXlu/TZdo+vc8W6zbqAHiMK NGfaa2Q9dpZuvkMLSipTZqlT61/k5LbZdACTa3/2zMBc/mIh64juQjrLhvnfDBZHLAyy +ystUy/Xm3zNbjuPLncPXIFkbCN1mvQCF4jwc5XhoJj3YtlrTY+0AXvhP5jd6pKiacr1 YVYqkMrse8Ssmsq9L+pPMOfw4t+tauxiUa6WvOQrlRmXbRWDdeparDBJewiouAfKJY21 HRyw== 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:in-reply-to :references; bh=S6gCvMPejpWHuR6sb/Q3XW8XQx38xw6MEgTX6BXvC3Q=; b=j4+OTrcneQmL+hkXY8rWbs7I5g54UkzlGETjNfqArwrAQZUU4DnkQpiZxtNagqDGFD 6LBLfsmQnGwdUWbiCBTusT2ufhhsZRtxqpG65tUOkoOSHYj0D547gHxUSwYiJQarvWsh SzBbfRldV9jUHpXWAFV08cr01/odCaC6AdMAc4G4eBC++Jrof4Nlm7njZBzTQo+Z1QnT Ws3TfXRrwtdmD3ZApombtbdDO3BfhuY0G7wSOil/yJfiGFQwo6Ml7qjhiKZziqSQ25O/ UHI9hahh5zs+RJxS65QonBwx+WPidJtzbL/Oq3bWLuTEJgmPcFu2pMhTLW6I2GUSIcN0 UAUw== X-Gm-Message-State: AElRT7Fu5zKRMBILsJMLUB95FDj7hr3t6gv/dJ4d0NcaTDQGw/RwD4X5 hlElwH0uM6ZWNFDrc7KN5vUJAg== X-Received: by 10.98.246.16 with SMTP id x16mr9188008pfh.81.1521439411738; Sun, 18 Mar 2018 23:03:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:30 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:57 -0700 Message-Id: <20180319060300.5366-15-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 15/18] libmicrohttpd: Add -D_REENTRANT to CFLAGS X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org GCC fails to add it with -pthread on some arches e.g. risc-v Signed-off-by: Khem Raj --- meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb index ee399a764..0930a277b 100644 --- a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb @@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "0c1cab8dc9f2588bd3076a28f77a7f8de9560cbf2d80e53f9a8696ada8 inherit autotools lib_package pkgconfig gettext +CFLAGS += "-pthread -D_REENTRANT" + EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" PACKAGECONFIG ?= "curl"