[Buildroot] [PATCH 2/2] package/sane-backends: remove unsafe headers path

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jan 10 15:34:53 UTC 2015


Dear Romain Naour,

On Sat, 10 Jan 2015 16:11:01 +0100, Romain Naour wrote:

> +diff --git a/configure.in b/configure.in
> +index a8fc950..0b0bcd1 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -82,7 +82,7 @@ AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
> + dnl ***********************************************************************
> + dnl set compiler/linker flags
> + dnl ***********************************************************************
> +-INCLUDES="${INCLUDES} -I/usr/local/include"
> ++INCLUDES="${INCLUDES}"

Hum, INCLUDES="${INCLUDES}" could also be replaced with just nothing,
no? So shouldn't your patch simply get rid of this line?

Also, please submit upstream, thanks :)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list