summaryrefslogtreecommitdiff
path: root/core/gcc/gcc_mips64el_lib.patch
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-10 11:22:44 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-10 11:22:44 -0500
commitade28d905ac6c5215010c2d325b7d8f713903c6b (patch)
tree097e581a5ebe5dcaf84a0d75ee40f909311fcde0 /core/gcc/gcc_mips64el_lib.patch
parentfe9031d7163bbf7aa3b8a538123897275ec9f663 (diff)
parent06a22f3bf7a44edf24bd02b6023cf05a6bc77256 (diff)
¿QMerge branch 'master' of vparabola:~/projects/abslibre-mips64el
Conflicts: libre/thunderbird-libre/rePKGBUILD
Diffstat (limited to 'core/gcc/gcc_mips64el_lib.patch')
-rw-r--r--core/gcc/gcc_mips64el_lib.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/gcc/gcc_mips64el_lib.patch b/core/gcc/gcc_mips64el_lib.patch
new file mode 100644
index 000000000..425758e88
--- /dev/null
+++ b/core/gcc/gcc_mips64el_lib.patch
@@ -0,0 +1,25 @@
+--- gcc/config/mips/t-linux64.orig 2011-04-09 20:28:51.729723495 -0300
++++ gcc/config/mips/t-linux64 2011-04-09 20:29:06.913724013 -0300
+@@ -18,7 +18,7 @@
+
+ MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
+ MULTILIB_DIRNAMES = n32 32 64
+-MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64
++MULTILIB_OSDIRNAMES = ../lib ../lib32 ../lib64
+
+ EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
+
+--- gcc/config/mips/linux64.h.orig 2011-04-09 20:27:06.909723735 -0300
++++ gcc/config/mips/linux64.h 2011-04-09 20:28:16.033723803 -0300
+@@ -35,9 +35,9 @@
+ %{!shared: \
+ %{profile:-lc_p} %{!profile:-lc}}"
+
+-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
++#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld.so.1"
+ #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
+-#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
++#define GLIBC_DYNAMIC_LINKERN32 "/lib/ld.so.1"
+ #define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
+ #define LINUX_DYNAMIC_LINKERN32 \
+ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)