Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mail.openembedded.org (Postfix) with ESMTP id C715F6FFA4 for ; Fri, 21 Oct 2016 11:43:27 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP; 21 Oct 2016 04:43:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,376,1473145200"; d="scan'208";a="1057104020" Received: from linux.intel.com ([10.54.29.200]) by fmsmga001.fm.intel.com with ESMTP; 21 Oct 2016 04:43:29 -0700 Received: from avalluri-GigaByte.fi.intel.com (avalluri-gigabyte.fi.intel.com [10.237.72.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTP id 1F02D6A4080 for ; Fri, 21 Oct 2016 04:42:55 -0700 (PDT) From: Amarnath Valluri To: openembedded-devel@lists.openembedded.org Date: Fri, 21 Oct 2016 14:43:35 +0300 Message-Id: <1477050215-18659-1-git-send-email-amarnath.valluri@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [meta-oe][PATCH] glmark2: Enabling c++ 11 features 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: , X-List-Received-Date: Fri, 21 Oct 2016 11:43:29 -0000 When build with gcc5, Failed with below errors: | ../src/image-reader.cpp: In member function 'bool PNGReader::init(const string&)': | ../src/image-reader.cpp:123:16: error: 'unique_ptr' in namespace 'std' does not name a template type This change explicitly enables c++11 features, as code using them. Signed-off-by: Amarnath Valluri --- meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb index 396ae70..a2558a7 100644 --- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb @@ -28,6 +28,9 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gl wayland-gles2', '', d)} \ drm-gl drm-gles2" +# Enable C++11 features +CXXFLAGS += "-std=c++11" + PACKAGECONFIG[x11-gl] = ",,virtual/libgl virtual/libx11" PACKAGECONFIG[x11-gles2] = ",,virtual/libgles2 virtual/libx11" PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm" -- 2.7.4 --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.