From patchwork Sat May 13 02:59:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 99737 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp603527qge; Fri, 12 May 2017 20:01:01 -0700 (PDT) X-Received: by 10.84.174.67 with SMTP id q61mr9934059plb.97.1494644461647; Fri, 12 May 2017 20:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494644461; cv=none; d=google.com; s=arc-20160816; b=z/1GHWhPZXoSyFPrbokFrsF6PGyb/0wuCNP9mjtRgeBcDVbjTedXCVXS6aMhtCfBWi uOw82Y3cXUY/Hu2Q68Qk7uR2r3qtPWDi6Ci/vuWHze7RdjodT5CbEwUhNQGRbJhXak6K tCkzWDeY+RNcx9WrZdtIYbYcz01W5+gYvgGrmx3UiNa+8hXCQewNupyIMoVXcruAxnap 8NJ4HWuawItSWshfcKE6JsnoQqI2zxVkRkGR3bIms22QqF8I0c3EsBJ42+f9OJmqh/o5 5ddFzD3iAXfFeKjj1eLvglWw3E4maehdDODuXU5plNqaVOvKgoQODV3f5AR2o9Bn6QUU Q8wg== 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=tYifNsQgYYjq/UOkNS+P7xTMmO6QLVQ/SPuE2DqPmapfMGzYLgy/dmIGFsPl3qHvrx S7lxnYD2Ezu3PS0wfCpsFQwgWB7AhiRp6pUkPv/kYapbqu9W80bhGc/GaXyezJEbq+Fn r9otfW4LUEBTJ6dN2WwlLBAEbIxN01uX88/Fu5T/t5hhdyMlNOIEYmYF0zmCe2nOBr0p /048TLzgVwHTrfUOc5WRTv+/vRMMvDDYMjZAd5EGuxtHOAFPsgcwnuJHKF/ZhvZF7Dlq rPtEYFLkAywMlzaLlccqjMGd5mNoSDfUjAoL28argFWIvO0NxFfJRi9+aaZe3MVZvA/i PijA== 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 v128si4837568pfb.156.2017.05.12.20.01.01; Fri, 12 May 2017 20:01:01 -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 16D3977D44; Sat, 13 May 2017 03:00:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 0A87077CE1 for ; Sat, 13 May 2017 02:59:46 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id s62so9633435pgc.0 for ; Fri, 12 May 2017 19:59:48 -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=Ll4K9enBOdKlv3GMrsYvrtm60S3yliw7IurzYlp81UrmFJFX7/X40dj8R8nsNEfBSY Lof3YxJnNIMSNCAJUcgcJXgbIZV+wWuncmDaPkOFVcpWwzpGsZJDT1nZVWvZxnFlinH5 zQvtlIl0PAYPOSzeq083lTWiv8bsZqE6anle/VYtsxCA9J97Ku64LgJ8pAUdW19l/5ws iJPJIORXxTK3KshBhsoj8NDeefoXPEoZaeYy3IVFCEPVYeB8Ld1BUzz7/hNjDpQxdag+ eAjB03sKtea8LQDoGHTBf0dafPqqpyEY7k9RY4zibai6gF3TnnGzOWhu8ilxbYDK/i3t MCpA== 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=deohTyv6hyv27GhRxLOFgHj+kvPxK9hbHhWjDprIHw157xRDbc6969Y6UpUETHBdhB D26qV8ShGT5qgmG1L2qYfgQ9X8Dlc2TQxs2p8vhUrhDMjKXjIT26MjxF8peY0oVfgxLS E2DpLiWU+04kB+Il0+SRhX83kNnWhEfYAmgNl/tQfrFLAyeQ7hDhLcjzKuIwjJBegZk2 HhnysV0FOLyOUudARso5jNtIq8Mj/Gd8euMrxmXSDOQWIWhKxIYbWUOKlnU1x4aiIpQ3 JcRFir9/gj9g1Kd4J/nHnMw9SseiNHZkqru2/4UVDKfGWV56wbyFRX1BZIMdDHyq3Qsj 1DCQ== X-Gm-Message-State: AODbwcBVyMKWdam8UFl/W8Xv0127J8NnWHuXZePNoyvyaJiMUwNk//a0 +7Nim5x6EM4c8Q== X-Received: by 10.84.175.67 with SMTP id s61mr9813090plb.43.1494644388096; Fri, 12 May 2017 19:59:48 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::c232]) by smtp.gmail.com with ESMTPSA id q4sm4541134pgf.9.2017.05.12.19.59.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 May 2017 19:59:46 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 12 May 2017 19:59:29 -0700 Message-Id: <20170513025932.26254-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170513025932.26254-1-raj.khem@gmail.com> References: <20170513025932.26254-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 4/7] 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.