configure: quote the assignments for run-compiler

Building for multilib failed, as the compiler command contains an
extra argument. That needs quoting.

Regression from b78ca50cb3

Fixes #11179
Closes #11180
This commit is contained in:
Christian Hesse 2023-05-23 09:40:18 +02:00 committed by Daniel Stenberg
parent 127eb0d83a
commit 471dab2da0
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -193,8 +193,8 @@ dnl something different but only have that affect the execution of the results
dnl of the compile, not change the libraries for the compiler itself. dnl of the compile, not change the libraries for the compiler itself.
dnl dnl
compilersh="run-compiler" compilersh="run-compiler"
echo "CC=$CC" > $compilersh echo "CC=\"$CC\"" > $compilersh
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $compilersh echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> $compilersh
echo 'exec $CC $@' >> $compilersh echo 'exec $CC $@' >> $compilersh
dnl ********************************************************************** dnl **********************************************************************