https://gcc.gnu.org/g:bb23a04417f07e7dce19dd94b803556f07a61720

commit r16-4262-gbb23a04417f07e7dce19dd94b803556f07a61720
Author: Eric Botcazou <[email protected]>
Date:   Tue Oct 7 09:51:37 2025 +0200

    Revert "Ada: Remove useless Makefile variable"
    
    This reverts commit 49aed8ceb5d3ee8af96ebd7edd5d250b682697cd.

Diff:
---
 gcc/ada/Makefile.rtl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index 2ccb3aabe1cb..0fa2c51ceb6c 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) \

Reply via email to