[sane-devel] [PATCH] fix cross-compiling paths
Mike Frysinger
vapier at gentoo.org
Wed Jul 8 10:34:47 UTC 2015
From: Mike Frysinger <vapier at chromium.org>
There's no reason to hardcode -I paths to /usr/local. Doing so breaks
cross-compiling when incompatible headers live in there or the toolchain
is set up to throw errors with those flags.
---
configure.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/configure.in b/configure.in
index 48953d2..059058b 100644
--- a/configure.in
+++ b/configure.in
@@ -82,7 +82,6 @@ AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
dnl ***********************************************************************
dnl set compiler/linker flags
dnl ***********************************************************************
-INCLUDES="${INCLUDES} -I/usr/local/include"
AC_SUBST(INCLUDES)
SANE_SET_CFLAGS([$is_release])
SANE_SET_LDFLAGS
--
2.4.4
More information about the sane-devel
mailing list