Dash:
[t2-trunk.git] / architecture / mips64 / pkg_gcc.diff
blob09cdf7d273734c6347e801483af435c3844cd861
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: architecture/mips64/pkg_gcc.diff
5 # Copyright (C) 2020 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- gcc-10.1.0/gcc/config/mips/t-linux64.vanilla 2020-07-02 15:28:10.672376931 +0200
18 +++ gcc-10.1.0/gcc/config/mips/t-linux64 2020-07-02 15:30:16.756369416 +0200
19 @@ -16,10 +16,10 @@
20 # along with GCC; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
23 -MULTILIB_OPTIONS = mabi=32/mabi=64
24 -MULTILIB_DIRNAMES = 32 64
25 +MULTILIB_OPTIONS = mabi=n32/mabi=32
26 +MULTILIB_DIRNAMES = n32 32
27 MIPS_EL = $(if $(filter %el, $(firstword $(subst -, ,$(target)))),el)
28 MIPS_SOFT = $(if $(strip $(filter MASK_SOFT_FLOAT_ABI, $(target_cpu_default)) $(filter soft, $(with_float))),soft)
29 MULTILIB_OSDIRNAMES = \
30 + ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
31 ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
32 - ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))