From patchwork Mon May 22 05:00:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100251 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86268qge; Sun, 21 May 2017 22:02:26 -0700 (PDT) X-Received: by 10.98.152.214 with SMTP id d83mr23399008pfk.7.1495429346093; Sun, 21 May 2017 22:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429346; cv=none; d=google.com; s=arc-20160816; b=ldrZ6OG4Y/mSNADdjWN0ME0DTqBlZsUXq4scvK/VF/aJdtXaFRaCBu/ZNRClwztPY+ xVJ3stwuBKho2Xy/pfP37iAesvvOp1Ov+kARB5edtmGs05QUKiXwjSSzk5SCD1CylpF4 FPLiPqrIe/x6w1+22q7AxKAeggvp7g49uzyOllPneejRjl4MZncUItm3uTks4ZNi1U5L p0OxQstW1xKE4vy00JqNwS+t5NasBjkWd/401/CoXqFwtgR+KyJSNfi5bbYhEtNLZ7rz vp0h0cVcMANqbeG9lnCB/StlyZkWB8OBpsjL2qR0QQtA9NmM3jiJm+3hkwUoYizt4ClV VS9Q== 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=9dcANcZHaSX/TxPMWUDxmTDT5bjJ+cEZR2OtO89lQX4=; b=UqsG2XrD6j4lBdUDJSBcA4W+YmbMHur4rtrtNztjjBdbNjbCx+TV2TqaeupRnQ3jzK TlRUd57FTOZgIQr3VrnPSsloXTFHyJ/Z61Jdhp8YXg23Uhhwh01Fj93IFObaLJ2SW2b1 mnld+MjepclM3BhOmVL0HRYGB/ThYDblNLagCjBE8vgb8tcNbr6eAMv8cyoguZq+n6ZV miYz6Bm02aXkc2SYiXJm65oznYlwjnvU7PuQIeko243NvwRJGC8Apcf7NWDAc1hUjEVG nP66By+PAUSCtRzgU5Is+xkjr9AHTJUOFqX46SRbX4wbWBEymx269EtIDwnkOoeB/efI +YxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 1si15522078pgb.225.2017.05.21.22.02.25; Sun, 21 May 2017 22:02:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 01E7A77FC0; Mon, 22 May 2017 05:02:16 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 9480977F77 for ; Mon, 22 May 2017 05:01:00 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id n23so17287015pfb.3 for ; Sun, 21 May 2017 22:01:02 -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=R+9355Gj4BvIPOuuVb5m+1Ydi/+7UXAsWjbj2Muqn9M=; b=n4sc0ikoGcR7oBFBBnZaZL5BnFiIlBKQ8dS5peQXm1N14sRJQPTAhp09USqf5A1zca l2QBqlIDo9KQqR9L8cvbIgIhkY4TxPUVWkf7Pf68W0dm7i5YGKBkWEmaJ4GuURRF2dm4 w8CMmJqc0v0n3igeelTb27nFMJTYKyCgfGsiQDc81osPo8Ua9k0SfgvRmfi2/JsYD5q7 5ZZp8zSnnfI+h146U3I2/x146BwZt5HWh6mWhy0Whw8rspY0DkdHPTvEseFnMj0vgF8L mCexKvGqMD1yICJ9NnJ2viimrAwJtwzC9ys/RuPuMjPPM98QBswXgexpB09HLWavdnWQ pfuA== 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=R+9355Gj4BvIPOuuVb5m+1Ydi/+7UXAsWjbj2Muqn9M=; b=EZwmK0G2gfiSEBt2DlrQJNf9gV3D9f+8mhyucR57YmZGoJNz/exyImJdA76c6o5Bvd LNFlD2rCvAF2fdu2Y2JkF6LITGUTb1Uq4/+oMyVkIdfjdZpt5IyyToCWHqUaw0nxy/8w IWmQMWd2a33b5Kx0qyDR04VgAhpX+OuaTLy4YPCZmvJhBt8n898AQjbPxj6U030m/YSM 8Z2/6nJRhWe2D3MaZCjHpX7pSVzs24Nk+6bW5YF6YtA+xScJTx52RNIDVmJyH2EaVhSy xQE4ldgjYYd+vjaXWOemKDSJXL5c31/Utax2Bgd9JtzjRjdeoMRoGKxnFRoVI0cTf2PG LCIA== X-Gm-Message-State: AODbwcDarhgJIvt/s9drwqwKrJOpg8ch+APJlC6ToRStQeWLyv07/48R 6fW70Kp/QGCYlA== X-Received: by 10.99.66.5 with SMTP id p5mr23162860pga.107.1495429261560; Sun, 21 May 2017 22:01:01 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.00.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:00:59 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:31 -0700 Message-Id: <20170522050042.42403-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 04/15] glew: Compile with -D_GNU_SOURCE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Required with glibc 2.26 when x11 is not in distro features it errors out due to mising CLOCK_REALTIME error: 'CLOCK_REALTIME' undeclared (first use in this function); did you mean '_XOPEN_REALTIME'? if (clock_gettime(CLOCK_REALTIME, &ts) == -1) ^~~~~~~~~~~~~~ _XOPEN_REALTIME Signed-off-by: Khem Raj --- meta/recipes-graphics/glew/glew_2.0.0.bb | 1 + 1 file changed, 1 insertion(+) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/glew/glew_2.0.0.bb b/meta/recipes-graphics/glew/glew_2.0.0.bb index 1c93ca07b6..f2ab75629c 100644 --- a/meta/recipes-graphics/glew/glew_2.0.0.bb +++ b/meta/recipes-graphics/glew/glew_2.0.0.bb @@ -24,6 +24,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', 'egl- PACKAGECONFIG[opengl] = "SYSTEM='linux',,virtual/libx11 virtual/libgl libglu libxext libxi libxmu" PACKAGECONFIG[egl-gles2] = "SYSTEM='linux-egl' GLEW_NO_GLU='-DGLEW_NO_GLU' LDFLAGS.GL='-lEGL -lGLESv2',,virtual/egl virtual/libgles2" +CFLAGS += "-D_GNU_SOURCE" # Override SYSTEM (via PACKAGECONFIG_CONFARGS) to avoid calling config.guess, # we're cross-compiling. Pass our CFLAGS via POPT as that's the optimisation # variable and safely overwritten.