summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-03-21 19:03:45 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-03-21 19:03:45 +0000
commit76987fa9ca4f2a8f8a1c701461a9fff5619b3425 (patch)
tree5ecf2641b260dde5403965b31bc321b97e005e24
parent66a0f6fd7e161cb3813c4f8a8d7a7da9d1af6315 (diff)
downloads6-dns-76987fa9ca4f2a8f8a1c701461a9fff5619b3425.tar.xz
Better workaround for busybox sh
-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