The addition of fPIC for shared libraries is performed
independently from multilibs and fpic multilibs have
no other particular purpose for VxWorks at this stage.
They incur extra build time, complexify the install tree
and are a bit tricky because -fpic is not supported for kernel
mode.
2021-12-14 Olivier Hainque <hainque@adacore.com>
gcc/
* config/i386/t-vxworks: Drop the fPIC multilibs.
ifneq (,$(findstring x86_64, $(target)))
MULTILIB_OPTIONS += mcmodel=large
MULTILIB_DIRNAMES += large
-else
-MULTILIB_OPTIONS += fPIC
-MULTILIB_DIRNAMES += fPIC
-MULTILIB_MATCHES = fPIC=fpic
-
-# -fPIC is only supported in combination with -mrtp
-MULTILIB_EXCEPTIONS = fPIC
endif