xref: /OK3568_Linux_fs/buildroot/package/dillo/0001-usr-local-include.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Do not add (possibly poisoned) /usr/local/include and /usr/local/lib
2to gcc and ld search paths in configure.
3
4With BR2_COMPILER_PARANOID_UNSAFE_PATH enabled, poisoned paths result
5in hard errors, failing affected configure tests.
6
7Signed-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 ------------------------------------
28