[PATCH 2/2] libada: Respect `--enable-version-specific-runtime-libs'

Eric Botcazou ebotcazou@adacore.com
Wed Dec 18 11:23:00 GMT 2019


> 	gcc/ada/
> 	* gcc-interface/Makefile.in (ADA_RTL_DSO_DIR): New variable.
> 	(install-gnatlib): Use it in place of ADA_RTL_OBJ_DIR for shared
> 	library installation.
> 
> 	libada/
> 	* Makefile.in (toolexecdir, toolexeclibdir): New variables.
> 	(LIBADA_FLAGS_TO_PASS): Add `toolexeclibdir'.
> 	* configure.ac: Add `--enable-version-specific-runtime-libs'.
> 	Update version-specific `toolexecdir' and `toolexeclibdir' from
> 	ADA_RTL_OBJ_DIR from gcc/ada/gcc-interface/Makefile.in.
> 	* configure: Regenerate.

This breaks with --disable-libada because $(toolexeclibdir) is not set.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list