diff options
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index e73cb84..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 @@ -5608,6 +5617,8 @@ case ${target} in esac if test x$with_arch != x; then default_mips_arch=$with_arch + else + with_arch=$default_mips_arch fi if test x$with_abi != x; then default_mips_abi=$with_abi |