blob: 0e876ae85c9c0e5e7eb6570680e34e30266d20d2 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Disable defaulting of GCRYPT_LDFLAGS to -L/usr/lib
2
3Prevents "unsafe for cross compilation" warnings that cause
4do_qa_configure to fail.
5
6Upstream-Status: Inappropriate [configuration]
7
8Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9
10Index: collectd-5.4.1/configure.ac
11===================================================================
12--- collectd-5.4.1.orig/configure.ac 2014-09-03 01:20:22.062084244 -0700
13+++ collectd-5.4.1/configure.ac 2014-09-03 01:20:22.058084244 -0700
14@@ -1867,11 +1867,11 @@
15 GCRYPT_CPPFLAGS=`"$with_libgcrypt_config" --cflags 2>/dev/null`
16 fi
17
18- if test "x$GCRYPT_LDFLAGS" = "x"
19- then
20- gcrypt_exec_prefix=`"$with_libgcrypt_config" --exec-prefix 2>/dev/null`
21- GCRYPT_LDFLAGS="-L$gcrypt_exec_prefix/lib"
22- fi
23+# if test "x$GCRYPT_LDFLAGS" = "x"
24+# then
25+# gcrypt_exec_prefix=`"$with_libgcrypt_config" --exec-prefix 2>/dev/null`
26+# GCRYPT_LDFLAGS="-L$gcrypt_exec_prefix/lib"
27+# fi
28
29 if test "x$GCRYPT_LIBS" = "x"
30 then