aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrederic Konrad <konrad@adacore.com>2020-11-06 20:08:28 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-06-21 06:44:58 -0400
commit3045dd3c1769f9016a5d8f8ea3fd7e1f50a28232 (patch)
tree9dfc2516ef38ecfa54bce54759640c9e57272870 /gcc
parent316dd79876873222552bdf6aa31338012bc9b955 (diff)
downloadgcc-3045dd3c1769f9016a5d8f8ea3fd7e1f50a28232.zip
gcc-3045dd3c1769f9016a5d8f8ea3fd7e1f50a28232.tar.gz
gcc-3045dd3c1769f9016a5d8f8ea3fd7e1f50a28232.tar.bz2
[Ada] powerpc64-wrs-vxworks7r2: build shared libgnat
gcc/ada/ * Makefile.rtl: Compiles both static and dynamic libgnat for powerpc64-wrs-vxworks7r2.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/Makefile.rtl7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index 7f075c7..3731181 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -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