From: Eric Botcazou Date: Tue, 7 Oct 2025 07:51:37 +0000 (+0200) Subject: Revert "Ada: Remove useless Makefile variable" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb23a04417f07e7dce19dd94b803556f07a61720;p=thirdparty%2Fgcc.git Revert "Ada: Remove useless Makefile variable" This reverts commit 49aed8ceb5d3ee8af96ebd7edd5d250b682697cd. --- diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index 2ccb3aabe1c..0fa2c51ceb6 100644 --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -26,6 +26,12 @@ ifndef ADAC ADAC=$(CC) endif +ifeq ($(LLVM_CONFIG),) +LLVM_BUILD := $(shell $(ADAC) -v | grep ^llvm-gcc) +else +LLVM_BUILD := llvm-gcc +endif + # Objects needed only for tasking GNATRTL_TASKING_OBJS= \ a-dispat$(objext) \