Commit ecf332e5 authored by Alex Suykov's avatar Alex Suykov Committed by Thomas Petazzoni
Browse files
parent 668efc5f
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
Do not add (possibly poisoned) /usr/local/include and /usr/local/lib
to gcc and ld search paths in configure.

With BR2_COMPILER_PARANOID_UNSAFE_PATH enabled, poisoned paths result
in hard errors, failing affected configure tests.

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>

--- a/configure.ac
+++ b/configure.ac
@@ -57,16 +57,6 @@
 AC_TYPE_INT32_T
 AC_TYPE_UINT32_T
 
-dnl --------------------------------------
-dnl Check whether to add /usr/local or not
-dnl (this is somewhat a religious problem)
-dnl --------------------------------------
-dnl
-if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then
-  CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-  LDFLAGS="$LDFLAGS -L/usr/local/lib"
-fi
-
 dnl ------------------------------------
 dnl Check for socket libs (AIX, Solaris)
 dnl ------------------------------------
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2
DILLO_SITE = http://www.dillo.org/download
DILLO_LICENSE = GPLv3+
DILLO_LICENSE_FILES = COPYING
# For 0001-configure.ac-change-fltk-config-test-to-be-more-cros.patch
# configure.ac gets patched, so autoreconf is necessary
DILLO_AUTORECONF = YES
DILLO_DEPENDENCIES = fltk zlib \
	$(if $(BR2_PACKAGE_LIBICONV),libiconv)