[Ada] powerpc64-wrs-vxworks7r2: build shared libgnat

gcc/ada/

	* Makefile.rtl: Compiles both static and dynamic libgnat for
	powerpc64-wrs-vxworks7r2.
This commit is contained in:
Frederic Konrad 2020-11-06 20:08:28 +01:00 committed by Pierre-Marie de Rodat
parent 316dd79876
commit 3045dd3c17

View File

@ -1194,6 +1194,13 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7% vxworks7spe
GCC_SPEC_FILES+=vxworks-cert-$(ARCH_STR)-link.spec
GCC_SPEC_FILES+=vxworks-smp-$(ARCH_STR)-link.spec
endif
ifeq ($(strip $(filter-out vxworks7r2 powerpc64 rtp rtp-smp, $(target_os) $(target_cpu) $(THREAD_KIND))),)
# Shared libraries are only supported on PowerPC64, VxWorks7r2
# ATM. Also this is disabled for kernel runtimes.
GNATLIB_SHARED = gnatlib-shared-dual
LIBRARY_VERSION := $(LIB_VERSION)
endif
endif
# PowerPC and e500v2 VxWorks 653