]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
binutils/GCC: Quote ${COMPILER_FOR_TARGET}
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 2 Oct 2025 00:53:45 +0000 (08:53 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 2 Oct 2025 01:07:00 +0000 (09:07 +0800)
commitaef88b83384976e96a8fb287a001588a2277ecd5
treef72e1f4352a8826994bc7e5db1234afcf8cae805
parent727a44f8583e1ef763b6580d6753e90b64017f1a
binutils/GCC: Quote ${COMPILER_FOR_TARGET}

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 configuring 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.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
config/clang-plugin.m4
config/gcc-plugin.m4
configure