diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-03-21 19:03:45 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-03-21 19:03:45 +0000 |
commit | 76987fa9ca4f2a8f8a1c701461a9fff5619b3425 (patch) | |
tree | 5ecf2641b260dde5403965b31bc321b97e005e24 | |
parent | 66a0f6fd7e161cb3813c4f8a8d7a7da9d1af6315 (diff) | |
download | s6-dns-76987fa9ca4f2a8f8a1c701461a9fff5619b3425.tar.xz |
Better workaround for busybox sh
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |