* updated yet more dir-less .cache DEPs
[t2sde.git] / package / develop / gcc / hotfix-no-multilib.patch.musl
blobbec8695368cd3d89ee2f6c59342bd2b9971b4375
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/gcc/hotfix-no-multilib.patch.musl
3 # Copyright (C) 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- gcc-12.1.0/gcc/config.gcc.vanilla   2022-07-14 12:24:47.863690831 +0200
15 +++ gcc-12.1.0/gcc/config.gcc   2022-07-14 12:25:37.807688840 +0200
16 @@ -2026,7 +2026,7 @@
17                         x86_multilibs="mx32"
18                         ;;
19                 *)
20 -                       x86_multilibs="m64,m32"
21 +                       x86_multilibs="m64"
22                         ;;
23                 esac
24         fi
25 --- gcc-12.1.0/gcc/config/i386/t-linux64.vanilla        2022-07-14 12:37:55.609659421 +0200
26 +++ gcc-12.1.0/gcc/config/i386/t-linux64        2022-07-14 12:38:22.400658353 +0200
27 @@ -33,6 +33,6 @@
28  comma=,
29  MULTILIB_OPTIONS    = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
30  MULTILIB_DIRNAMES   = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
31 -MULTILIB_OSDIRNAMES = m64=../lib64$(call if_multiarch,:x86_64-linux-gnu)
32 +MULTILIB_OSDIRNAMES = m64=../lib$(call if_multiarch,:x86_64-linux-gnu)
33  MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:i386-linux-gnu)
34  MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32)