Description: link libgnat with libatomic on armel On other architectures, the library is ignored thanks to --as-needed. . Libatomic becomes an artificial dependency for Ada in Makefile.def, so a better solution is welcome. . Please read ada-changes-in-autogen-output.diff about src/Makefile.def. . TODO: if this is caused by ada-arm.diff, merge the two patches. Bug-Debian: https://bugs.debian.org/861734 Author: Matthias Klose Author: Nicolas Boulenguez --- a/src/gcc/ada/Makefile.rtl +++ b/src/gcc/ada/Makefile.rtl @@ -2211,6 +2211,7 @@ endif # ARM linux, GNU eabi ifeq ($(strip $(filter-out arm% linux-gnueabi%,$(target_cpu) $(target_os))),) + MISCLIB = ../../../$(target_alias)/libatomic/.libs/libatomic.so LIBGNAT_TARGET_PAIRS = \ a-intnam.ads