From dbdccc9efd3df83d486bbbf09479fd74dc70dd39 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Wed, 21 Mar 2018 15:51:56 +0100 Subject: glmark2: refresh Fix-configure-for-sqrt-check.patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller Signed-off-by: Armin Kuster --- .../files/Fix-configure-for-sqrt-check.patch | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'meta-oe/recipes-benchmark/glmark2') diff --git a/meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch b/meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch index fde82381d5..7de05ee583 100644 --- a/meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch +++ b/meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch @@ -1,13 +1,21 @@ -Index: git/wscript -=================================================================== ---- git.orig/wscript 2016-07-29 13:15:44.954249796 -0500 -+++ git/wscript 2016-07-29 15:52:06.196768865 -0500 -@@ -90,7 +90,7 @@ - ctx.check_cxx(lib = lib, uselib_store = uselib) +From 9fb298c398f88a63d71432be1410d52fae089063 Mon Sep 17 00:00:00 2001 +From: Tom Hochstein +Date: Mon, 8 Aug 2016 11:39:54 -0500 + +--- + wscript | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wscript b/wscript +index ca843f4..eb4a26a 100644 +--- a/wscript ++++ b/wscript +@@ -84,7 +84,7 @@ def configure(ctx): + ctx.check_cc(lib = lib, uselib_store = uselib) # Check required functions - req_funcs = [('memset', 'string.h', []) ,('sqrt', 'math.h', ['m'])] + req_funcs = [('memset', 'string.h', [])] for func, header, uselib in req_funcs: - ctx.check_cxx(function_name = func, header_name = header, + ctx.check_cc(function_name = func, header_name = header, uselib = uselib, mandatory = True) -- cgit 1.2.3-korg