aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/collectd/collectd/no-gcrypt-badpath.patch
blob: 02b160109e53712ddbad1f6a295f507df08cc933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Disable defaulting of GCRYPT_LDFLAGS to -L/usr/lib

Prevents "unsafe for cross compilation" warnings that cause
do_qa_configure to fail.

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>

diff --git a/configure.in b/configure.in
index 98395ed..81c3a2c 100644
--- a/configure.in
+++ b/configure.in
@@ -1777,11 +1777,11 @@ then
 		GCRYPT_CPPFLAGS=`"$with_libgcrypt_config" --cflags 2>/dev/null`
 	fi
 
-	if test "x$GCRYPT_LDFLAGS" = "x"
-	then
-		gcrypt_exec_prefix=`"$with_libgcrypt_config" --exec-prefix 2>/dev/null`
-		GCRYPT_LDFLAGS="-L$gcrypt_exec_prefix/lib"
-	fi
+#	if test "x$GCRYPT_LDFLAGS" = "x"
+#	then
+#		gcrypt_exec_prefix=`"$with_libgcrypt_config" --exec-prefix 2>/dev/null`
+#		GCRYPT_LDFLAGS="-L$gcrypt_exec_prefix/lib"
+#	fi
 
 	if test "x$GCRYPT_LIBS" = "x"
 	then