From 64286132cc0db4e227637887f98f5a3ecf7d326a Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Mon, 9 Jan 2023 18:36:15 +0800 Subject: Store bootstrap_llvm_target and use it to set LlvmTarget in bindists This mirrors some existing logic for the bootstrap_target which influences how TargetPlatform is set. As described on #21970 not storing this led to `LlvmTarget` being set incorrectly and hence the wrong `--target` flag being passed to the C compiler. Towards #21970 --- distrib/configure.ac.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'distrib') diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index 6263db351d..8c0caa56e1 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -18,6 +18,8 @@ dnl-------------------------------------------------------------------- dnl Various things from the source distribution configure bootstrap_target=@TargetPlatform@ +bootstrap_llvm_target=@LlvmTarget@ + TargetHasRTSLinker=@TargetHasRTSLinker@ AC_SUBST(TargetHasRTSLinker) -- cgit v1.2.1