aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index eec544f..8d5972f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -5518,6 +5518,15 @@ case "${target}" in
;;
esac
+# VxWorks support for shared libraries has to be requested explicitly,
+# so we can factor this part here:
+
+case "${target}-${enable_shared}" in
+ *-*-vxworks*-yes)
+ tmake_file="${tmake_file} t-slibgcc"
+ ;;
+esac
+
# Targets for which there is at least one VxWorks port should include
# vxworks-dummy.h to allow safe references to various TARGET_VXWORKS kinds
# of markers from other files in the port, including the vxworks*.h files to