flann: bump version to fix build with gcc 6
[buildroot-gz.git] / package / dillo / 0002-usr-local-include.patch
blob0c3fed2bfaf0401cdaf34f43a2068e18522e217d
1 Do not add (possibly poisoned) /usr/local/include and /usr/local/lib
2 to gcc and ld search paths in configure.
4 With BR2_COMPILER_PARANOID_UNSAFE_PATH enabled, poisoned paths result
5 in hard errors, failing affected configure tests.
7 Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
9 --- a/configure.ac
10 +++ b/configure.ac
11 @@ -57,16 +57,6 @@
12 AC_TYPE_INT32_T
13 AC_TYPE_UINT32_T
15 -dnl --------------------------------------
16 -dnl Check whether to add /usr/local or not
17 -dnl (this is somewhat a religious problem)
18 -dnl --------------------------------------
19 -dnl
20 -if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then
21 - CPPFLAGS="$CPPFLAGS -I/usr/local/include"
22 - LDFLAGS="$LDFLAGS -L/usr/local/lib"
23 -fi
25 dnl ------------------------------------
26 dnl Check for socket libs (AIX, Solaris)
27 dnl ------------------------------------