From e1ecd9e32d49f10df6e99fa6a50c6363fda02b6a Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Fri, 20 Jan 2023 16:56:51 +0300 Subject: [PATCH] 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. --- icu4c/source/runConfigureICU | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/runConfigureICU b/icu4c/source/runConfigureICU index 00a56872979..7dcde8de1dc 100755 --- a/icu4c/source/runConfigureICU +++ b/icu4c/source/runConfigureICU @@ -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