CC_FOR_TARGET in libctf Makefile

Alan Modra amodra@gmail.com
Sun Feb 21 04:02:02 GMT 2021


On Sat, Feb 20, 2021 at 04:45:40PM +0000, Nick Alcock wrote:
> I'll fold the AC_CANONICAL_TARGET stuff into the next series I prepare
> (after the ctf symbol one I posted this week, which seems good and which
> I'm just about to push).

Since I had this in my tree it may as well be pushed now.  Committed.

----
AC_CANONICAL_TARGET is needed for @target@ substitution in the
makefile.  AC_CANONICAL_HOST and AC_CANONICAL_BUILD are alread invoked
indirectly, make them explicit.

	* configure.ac: Invoke AC_CANONICAL_TARGET, AC_CANONICAL_HOST
	and AC_CANONICAL_BUILD.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

diff --git a/libctf/configure.ac b/libctf/configure.ac
index 90e3c437d6..ae1f10d1f2 100644
--- a/libctf/configure.ac
+++ b/libctf/configure.ac
@@ -24,6 +24,9 @@ AC_CONFIG_SRCDIR(ctf-impl.h)
 AC_CONFIG_MACRO_DIR(..)
 AC_CONFIG_MACRO_DIR(../config)
 AC_CONFIG_MACRO_DIR(../bfd)
+AC_CANONICAL_BUILD
+AC_CANONICAL_HOST
+AC_CANONICAL_TARGET
 AC_USE_SYSTEM_EXTENSIONS
 AM_INIT_AUTOMAKE
 
-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list