From patchwork Wed Sep 11 06:55:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 173584 Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp416518oce; Tue, 10 Sep 2019 23:56:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqHCsW2p0CHSmHVajkEJnObhafF6inljSctUMScxtLgNZg7SUWh8387aIM1yvZPPd+zKqz X-Received: by 2002:a63:791:: with SMTP id 139mr29043910pgh.199.1568184962687; Tue, 10 Sep 2019 23:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568184962; cv=none; d=google.com; s=arc-20160816; b=wk8M+xDBAvzmDskJQTVAP57azson+E9AfiIOpO7jD719gCK5Xehtp+T5FBCzwiMmRU ipkHrkUBacKIhhOeSTqnMTon1p2V+rshhquNxDurNPbvIqxn+3vVnvDsiU6usX6s9/x6 8rD8iR4+8NxbHzOKVPQ/qdUkOe/fIp7Xi2CxJbH7F9gdw3tEEDl6j5R5SZgWJc5Msfjb N/NDLIOpLRmQ00saGZpctFoIMN0I+u0QvQ+yk/Q/dEBcAyZqxOywMnGmnWv2zbXTEY/H ZFHUEB72l5UtDOQ8G8sBI7ypgtPahqvhv2vNLKijed0JTMJxatkp0ZXo+kBxn5phw6dG /CWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=Kxd+FpcoulkOs8SWn7Rm8gxsLYcZz0gcDCmN6ofEtoc=; b=M+l70d6CrBG4cbsCXqzlZ6Lt6FqcrqN6ey0PgteYyW1/lcwzoCfugczezyjDlsWBP0 ZWqk1GTCINIOcx0lcCYOXbMeiFXY8BZdRCBh2OZVg3+w1J4nmfpaYs0ImVEG7lShHug4 EDD1kcBi6JJULZAWFR8V45N9Xx/mPXecFcgQOSMQg4heRKVpe1VmUoWqK4GK9F0fyQdG NaQWkV+nFmjbijcTMT7tQuJS3gKM0KqbWInLG+wm/L5xdw4Ld72Cr9kyIKJRYWsMPdFi fuRlUgZODYB3faGSthXcHSgnGcog92ZnvxiiQS3ZRQSj33uQTK+ZJHCYrP7Si3aoNdD0 jCTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hEJxv3qe; 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 w8si21498543pfq.40.2019.09.10.23.56.02; Tue, 10 Sep 2019 23:56:02 -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=hEJxv3qe; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9BFEC7F32C; Wed, 11 Sep 2019 06:55:57 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mail.openembedded.org (Postfix) with ESMTP id 738517D71B for ; Wed, 11 Sep 2019 06:55:48 +0000 (UTC) Received: by mail-pf1-f171.google.com with SMTP id x127so13046923pfb.7 for ; Tue, 10 Sep 2019 23:55:50 -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=5/RmFvjWMvwddWiVIskxM6u5hjgESiNYw2TAc6Gx1Yg=; b=hEJxv3qeazNLDkW4b6RZBjLGht9xIlIyzIoFWV1R1GU0kjSlXyD9jADszhr8vzlNYR uiUrW//dwsBxvtBlxvRjK1TTDIC4qBCwD+avUpZ54asHp+r+VoF5oS5HJFXt1EmrRrcH M78ZLX+qJEzV4jJVcmAyopyiCjMrTj4IHDQz3RoU7RM0rdGKnQHBsjdcvGwsQUTaCzxr cq/lBiPPAeXtqiETeCSa0FEvFAbK0/ZCyIBhqhW8l8vf8Rn9o9W0xLSKwEkFWoK39UIq 7vlcdDe8kzImPMOWiJk9zSSz1iIsGPvWTHqQrvAHagaYhSTTVHUln6PVmhOzDSX6nmp/ qEVA== 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=5/RmFvjWMvwddWiVIskxM6u5hjgESiNYw2TAc6Gx1Yg=; b=hSq6Hg1R0PYQwcRc2q0MQVd/0BhhxqbYz9Ue9pFeJzA+b6Z8v7Q+nmBYNVODd2uaRF YdwQuzr4+pCTryZUs1KUvw0+rNKhQDtQ6DZ96/iV2EKdenE+lLBJGiNbwtFIpqZyxhLy FWGPp5E2R2tc183H+X0xPyB8DxzsjyxMeUBMOCEZLwwqKnmjxbfgKZW0iS05+S2/Hag/ oFU4goxXOAu6/E2oDUPJ9mTlYj3danDSSx8VlVV4Oe4WGd7aGE8wIGufveT5eFfgvt5q cly3JaQvdLEy/bQixG6GPb8790E2vDwC9kRcA8fUyQtZmoemHnyYgJDI5sUatO9S7129 1FCA== X-Gm-Message-State: APjAAAV41k9FALjqfYt1Tlz3o6hsHfrD8kXDO3BwI/whDKHhpkIKfDAz ZB6bUuVk/W4WaVIzhD6IJQwd3+0iDTw= X-Received: by 2002:a63:1d0e:: with SMTP id d14mr31671351pgd.324.1568184948901; Tue, 10 Sep 2019 23:55:48 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id j1sm18864063pgl.12.2019.09.10.23.55.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 23:55:48 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 10 Sep 2019 23:55:08 -0700 Message-Id: <20190911065508.579805-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] safec: Define _GNU_SOURCE 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org musl does not define this variable automatically but safec does provide wrapper for some GNU extentions as well e.g. error: implicit declaration of function 'localtime_r' is invalid in C99 Signed-off-by: Khem Raj --- meta-oe/recipes-core/safec/safec_3.4.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb b/meta-oe/recipes-core/safec/safec_3.4.bb index b4c125faf4..cc1fbcb735 100644 --- a/meta-oe/recipes-core/safec/safec_3.4.bb +++ b/meta-oe/recipes-core/safec/safec_3.4.bb @@ -10,6 +10,8 @@ S = "${WORKDIR}/git" SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" SRC_URI = "git://github.com/rurban/safeclib.git" +CPPFLAGS_append_libc-musl = " -D_GNU_SOURCE" + COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm).*-linux' RDEPENDS_${PN} = "perl"