GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
ada

Ada: Sets LDFLAGS to configure setting in gnattools.

The Ada build system now aligns LDFLAGS settings in gnattools with configure settings.

The gnattools build system now uses the @LDFLAGS@ variable set during configuration, aligning it with the c++tools and gotools build systems. This change removes the ADA_FOR_BUILD and ADA_FOR_TARGET variables from the Makefile.in file.

In Details

This commit, addressing PR ada/125232, modifies gnattools/Makefile.in to align the LDFLAGS setting with the configure setting @LDFLAGS@. It removes the now-redundant ADA_FOR_BUILD and ADA_FOR_TARGET variables, ensuring consistency across the build system. This is a build system change specific to the Ada front end and doesn't impact compiler internals.

For Context

This commit modifies the build system for the Ada components of GCC. It standardizes the way linker flags (LDFLAGS) are handled, ensuring that the same flags are used for all Ada tools. This change promotes consistency and simplifies the build process.

Filed Under: adabuild systemmakefileldflags