aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2020-11-15 09:56:51 +0000
committerOlivier Hainque <hainque@adacore.com>2021-12-14 12:56:56 +0000
commitd8eae5abf3d9d1363980342889635ccee1a7090d (patch)
tree9903807623979b876702cb1044c63b03448f9f9c
parent336dc544ebca867794a8e57c65afe303fd8ecc66 (diff)
downloadgcc-d8eae5abf3d9d1363980342889635ccee1a7090d.zip
gcc-d8eae5abf3d9d1363980342889635ccee1a7090d.tar.gz
gcc-d8eae5abf3d9d1363980342889635ccee1a7090d.tar.bz2
Remove fpic multilib on x86_64-vxworks
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.
-rw-r--r--gcc/config/i386/t-vxworks7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/config/i386/t-vxworks b/gcc/config/i386/t-vxworks
index 8f5e8c7..debb6b1 100644
--- a/gcc/config/i386/t-vxworks
+++ b/gcc/config/i386/t-vxworks
@@ -9,11 +9,4 @@ MULTILIB_DIRNAMES = mrtp
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