[PATCH] binutils/GCC: Quote ${COMPILER_FOR_TARGET}

H.J. Lu hjl.tools@gmail.com
Thu Oct 2 01:05:30 GMT 2025


Replace

if test x${COMPILER_FOR_TARGET} = x"\$(CC)"; then

with

if test x"${COMPILER_FOR_TARGET}" = x"\$(CC)"; then

since COMPILER_FOR_TARGET may contain spaces when bootstrapping GCC.

* configure: Regenerated.

config/

* clang-plugin.m4 (CLANG_PLUGIN_FILE_FOR_TARGET): Quote
${COMPILER_FOR_TARGET}.
* gcc-plugin.m4 (GCC_PLUGIN_OPTION_FOR_TARGET): Likewise.

I am checking it in after testing.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-binutils-GCC-Quote-COMPILER_FOR_TARGET.patch
Type: text/x-patch
Size: 2553 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20251002/3efcf139/attachment.bin>


More information about the Binutils mailing list