[PATCH] binutils: Use AC_TRY_COMPILE to check target clang/gcc

H.J. Lu hjl.tools@gmail.com
Tue Sep 30 07:43:02 GMT 2025


Use AC_TRY_COMPILE to check for the working target clang and gcc when
configuring for cross tools.

PR binutils/33503
* configure: Regenerated.

config/

PR binutils/33503
* clang-plugin.m4 (CLANG_PLUGIN_FILE_FOR_TARGET): Use
AC_TRY_COMPILE to check the target clang and replace
clang_cv_is_clang with clang_target_cv_working.
* gcc-plugin.m4 (GCC_PLUGIN_OPTION_FOR_TARGET): Use
AC_TRY_COMPILE to check the target gcc.


--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-binutils-Use-AC_TRY_COMPILE-to-check-target-clang-gc.patch
Type: application/x-patch
Size: 9710 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250930/46c7d24b/attachment.bin>


More information about the Binutils mailing list