The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dillo / 0002-usr-local-include.patch
1 Do not add (possibly poisoned) /usr/local/include and /usr/local/lib
2 to gcc and ld search paths in configure.
3
4 With BR2_COMPILER_PARANOID_UNSAFE_PATH enabled, poisoned paths result
5 in hard errors, failing affected configure tests.
6
7 Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
8
9 --- a/configure.ac
10 +++ b/configure.ac
11 @@ -57,16 +57,6 @@
12  AC_TYPE_INT32_T
13  AC_TYPE_UINT32_T
14  
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
24 -
25  dnl ------------------------------------
26  dnl Check for socket libs (AIX, Solaris)
27  dnl ------------------------------------