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>
15 -dnl --------------------------------------
16 -dnl Check whether to add /usr/local or not
17 -dnl (this is somewhat a religious problem)
18 -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"
25 dnl ------------------------------------
26 dnl Check for socket libs (AIX, Solaris)
27 dnl ------------------------------------