From 76987fa9ca4f2a8f8a1c701461a9fff5619b3425 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 21 Mar 2016 19:03:45 +0000 Subject: Better workaround for busybox sh --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 14fc460..e8b14ad 100755 --- a/configure +++ b/configure @@ -342,6 +342,7 @@ CPPFLAGS_AUTO="$CPPFLAGS_AUTO $addincpath" echo "creating config.mak..." cmdline=$(quote "$0") for i ; do cmdline="$cmdline $(quote "$i")" ; done +ccbase=${CC_AUTO##${cross}} exec 3>&1 1>config.mak cat << EOF # This file was generated by: @@ -371,7 +372,7 @@ SYSCLOCK_LIB := ${sysclock_lib} TAINNOW_LIB := ${tainnow_lib} UTIL_LIB := ${util_lib} -CC := ${CC_AUTO#${cross}} +CC := $ccbase CFLAGS := $CFLAGS_AUTO CPPFLAGS := $CPPFLAGS_AUTO LDFLAGS := $LDFLAGS_AUTO -- cgit v1.2.3