summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
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