summarylogtreecommitdiffstats
path: root/mabi32.patch
diff options
context:
space:
mode:
authorJoey Dumont2019-06-22 13:11:34 -0400
committerJoey Dumont2019-06-23 19:59:20 -0400
commit2d1fb632edf72be85f14c23be8d7cb658440679a (patch)
tree18f3871f9ccaef865357013697f167c80bf52b65 /mabi32.patch
parent8bbab19c5cde9b0276cdaefe4c92bb0e04a3f3c4 (diff)
downloadaur-2d1fb632edf72be85f14c23be8d7cb658440679a.tar.gz
Added mabi=32 support in multilib.
Diffstat (limited to 'mabi32.patch')
-rw-r--r--mabi32.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/mabi32.patch b/mabi32.patch
new file mode 100644
index 000000000000..81739892878f
--- /dev/null
+++ b/mabi32.patch
@@ -0,0 +1,12 @@
+diff -aur src.pristine/gcc-9.1.0/gcc/config/mips/t-elf src.new/gcc-9.1.0/gcc/config/mips/t-elf
+--- src.pristine/gcc-9.1.0/gcc/config/mips/t-elf 2019-06-18 22:52:15.188659537 -0400
++++ src.new/gcc-9.1.0/gcc/config/mips/t-elf 2019-06-22 22:19:42.534512297 -0400
+@@ -18,6 +18,6 @@
+
+ # Build the libraries for both hard and soft floating point
+
+-MULTILIB_OPTIONS = msoft-float EL/EB
+-MULTILIB_DIRNAMES = soft-float el eb
++MULTILIB_OPTIONS = mabi=32 msoft-float EL/EB
++MULTILIB_DIRNAMES = 32 soft-float el eb
+ MULTILIB_MATCHES = EL=mel EB=meb msingle-float=m4650