From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

If we use ccache, CROSS_COMPILE will be something like "ccache gccprefix".
If we don't quote the argument, then the sub-make will use "ccache" as the
cross-compile prefix and will try to build "gccprefix"

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 81107f5..86a72fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -608,7 +608,7 @@ else
             fi;                                                             \
         done;                                                               \
         \$(MAKE) -C $RTEXT_LINUX_DIR                                        \
-                CROSS_COMPILE=\$(CROSS_COMPILE)                             \
+                CROSS_COMPILE=\"\$(CROSS_COMPILE)\"                         \
                 ARCH=\$(RTNET_TARGET_ARCH)                                  \
                 M=\"\`pwd\`\"                                               \
                 V=\$(V)                                                     \
@@ -664,7 +664,7 @@ AC_SUBST(RTNET_KBUILD_CLEAN)
 AC_SUBST(RTNET_KBUILD_DISTCLEAN)
 
 bs_kmodext=$RTNET_MODULE_EXT
-bs_kcompile="make -C $RTEXT_LINUX_DIR ARCH=$RTNET_TARGET_ARCH 
CROSS_COMPILE=$CROSS_COMPILE V=1 M=`pwd` SUBDIRS=`pwd` modules"
+bs_kcompile="make -C $RTEXT_LINUX_DIR ARCH=$RTNET_TARGET_ARCH 
CROSS_COMPILE=\"$CROSS_COMPILE\" V=1 M=`pwd` SUBDIRS=`pwd` modules"
 
 
 dnl ======================================================================
-- 
1.7.6.3


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to