icu4c: preserve configure arguments

We want to avoid word splitting on the configure arguments during
substitution.

A problem was exposed by using CC="ccache mips-openwrt-linux-musl-gcc"
(that is, cross-compiling for MIPS OpenWrt with ccache enabled), it
failed to build without this change.
This commit is contained in:
Paul Fertser 2023-01-20 16:56:51 +03:00
parent bb0e745e25
commit e1ecd9e32d

View file

@ -447,7 +447,7 @@ export LDFLAGS
echo "export CPP=$CPP CC=$CC CXX=$CXX CPPFLAGS=$CPPFLAGS CFLAGS=$CFLAGS CXXFLAGS=$CXXFLAGS LDFLAGS=$LDFLAGS MAKE=$MAKE"
echo "Running ./configure $OPTS $@ for $THE_OS using $THE_COMP compiler"
echo
if $configure $OPTS $@
if $configure $OPTS "$@"
then
echo
echo If the result of the above commands looks okay to you, go to the directory