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

 



Users can define cross compiler paths like
CROSS_COMPILE="ccache ~/bin/arm/bin/..." and would like this to work.

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
 configure.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.sh b/configure.sh
index c1a5ad2..824abea 100755
--- a/configure.sh
+++ b/configure.sh
@@ -12,7 +12,8 @@ MISSING_DEFS=0
 
 [ -z "$CC" ] && CC=gcc
 
-CC=${CROSS_COMPILE}${CC}
+# expand tilde
+CC="$(eval echo ${CROSS_COMPILE}${CC})"
 
 echo "/* This file is auto-generated by configure.sh */" > config.h
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux