This just aligns gnattools with both c++tools and gotools.
Tested on x86-64/Linux, applied on the mainline.
2026-05-10 Eric Botcazou <[email protected]>
PR ada/125232
* Makefile.in (ADA_FOR_BUILD): Delete.
(ADA_FOR_TARGET): Likewise.
(LDFLAGS): Set to @LDFLAGS@.
--
Eric Botcazoudiff --git a/gnattools/Makefile.in b/gnattools/Makefile.in
index 98f1f75bdcc..def5c7ce96b 100644
--- a/gnattools/Makefile.in
+++ b/gnattools/Makefile.in
@@ -40,9 +40,7 @@ GNATBIND=@GNATBIND@
exeext = @EXEEXT@
objext=.o
TRACE=no
-ADA_FOR_BUILD=
-ADA_FOR_TARGET=
-LDFLAGS=
+LDFLAGS= @LDFLAGS@
PWD_COMMAND = $${PWDCMD-pwd}
# The tedious process of getting CFLAGS right.