From: Olivier Hainque Date: Sun, 15 Nov 2020 09:56:51 +0000 (+0000) Subject: Remove fpic multilib on x86_64-vxworks X-Git-Tag: basepoints/gcc-13~2362 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8eae5abf3d9d1363980342889635ccee1a7090d;p=thirdparty%2Fgcc.git 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 gcc/ * config/i386/t-vxworks: Drop the fPIC multilibs. --- diff --git a/gcc/config/i386/t-vxworks b/gcc/config/i386/t-vxworks index 8f5e8c73b71e..debb6b1a67cd 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