]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "Ada: Remove useless Makefile variable"
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 7 Oct 2025 07:51:37 +0000 (09:51 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 7 Oct 2025 08:35:05 +0000 (10:35 +0200)
This reverts commit 49aed8ceb5d3ee8af96ebd7edd5d250b682697cd.

gcc/ada/Makefile.rtl

index 2ccb3aabe1cb7ee366f6d7fcfa90522119e256a8..0fa2c51ceb6c09e8f2e739876729bbcd62f41ec1 100644 (file)
@@ -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) \