glmark2: refresh Fix-configure-for-sqrt-check.patch

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Andreas Müller 2018-03-21 15:51:56 +01:00 committed by Armin Kuster
parent df74ac6f4d
commit dbdccc9efd

View File

@ -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 <tom.hochstein@nxp.com>
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)