summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch22
1 files changed, 15 insertions, 7 deletions
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 @@
1Index: git/wscript 1From 9fb298c398f88a63d71432be1410d52fae089063 Mon Sep 17 00:00:00 2001
2=================================================================== 2From: Tom Hochstein <tom.hochstein@nxp.com>
3--- git.orig/wscript 2016-07-29 13:15:44.954249796 -0500 3Date: Mon, 8 Aug 2016 11:39:54 -0500
4+++ git/wscript 2016-07-29 15:52:06.196768865 -0500 4
5@@ -90,7 +90,7 @@ 5---
6 ctx.check_cxx(lib = lib, uselib_store = uselib) 6 wscript | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9diff --git a/wscript b/wscript
10index ca843f4..eb4a26a 100644
11--- a/wscript
12+++ b/wscript
13@@ -84,7 +84,7 @@ def configure(ctx):
14 ctx.check_cc(lib = lib, uselib_store = uselib)
7 15
8 # Check required functions 16 # Check required functions
9- req_funcs = [('memset', 'string.h', []) ,('sqrt', 'math.h', ['m'])] 17- req_funcs = [('memset', 'string.h', []) ,('sqrt', 'math.h', ['m'])]
10+ req_funcs = [('memset', 'string.h', [])] 18+ req_funcs = [('memset', 'string.h', [])]
11 for func, header, uselib in req_funcs: 19 for func, header, uselib in req_funcs:
12 ctx.check_cxx(function_name = func, header_name = header, 20 ctx.check_cc(function_name = func, header_name = header,
13 uselib = uselib, mandatory = True) 21 uselib = uselib, mandatory = True)