[libgda] Reset CPATH when cross compiling (to compile native tools)



commit defe373846207bd6e42b9d23650d41f7fc3465f7
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Nov 11 13:55:48 2013 +0100

    Reset CPATH when cross compiling (to compile native tools)

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cedcf76..e175a3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,7 @@ AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
 AC_MSG_CHECKING([for a C compiler for build tools])
 if test $cross_compiling = yes; then
   AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
+  CC_FOR_BUILD="CPATH=\"\" $CC_FOR_BUILD"
 else
   CC_FOR_BUILD=$CC
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]