Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Disable defaulting of GCRYPT_LDFLAGS to -L/usr/lib |
| 2 | |
| 3 | Prevents "unsafe for cross compilation" warnings that cause |
| 4 | do_qa_configure to fail. |
| 5 | |
| 6 | Upstream-Status: Inappropriate [configuration] |
| 7 | |
| 8 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 9 | |
| 10 | Index: 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 |