diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-05 03:49:21 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-05 03:49:21 +0000 |
commit | d9b28767785c07ec37d1f7ad880b5a1df2932042 (patch) | |
tree | 8e1a61e6ed68ea07b2135f8162dd3652dd842701 /system/gcc/disable-multiarch-ppc32.patch | |
parent | ca1238c16d9009387066123f02f8dc0e8b4624d2 (diff) | |
download | packages-d9b28767785c07ec37d1f7ad880b5a1df2932042.tar.gz packages-d9b28767785c07ec37d1f7ad880b5a1df2932042.tar.bz2 packages-d9b28767785c07ec37d1f7ad880b5a1df2932042.tar.xz packages-d9b28767785c07ec37d1f7ad880b5a1df2932042.zip |
system/gcc: fix 32-bit PowerPC issue
Diffstat (limited to 'system/gcc/disable-multiarch-ppc32.patch')
-rw-r--r-- | system/gcc/disable-multiarch-ppc32.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/gcc/disable-multiarch-ppc32.patch b/system/gcc/disable-multiarch-ppc32.patch new file mode 100644 index 000000000..5ca9a1d0d --- /dev/null +++ b/system/gcc/disable-multiarch-ppc32.patch @@ -0,0 +1,15 @@ +--- gcc-8.3.0/gcc/config/rs6000/t-linux.old 2019-03-04 07:18:12.770000000 +0000 ++++ gcc-8.3.0/gcc/config/rs6000/t-linux 2019-03-05 03:22:15.030000000 +0000 +@@ -5,10 +5,10 @@ + MULTILIB_OSDIRNAMES := m64=../lib + MULTILIB_OSDIRNAMES += m32=../lib32 + else +-MULTIARCH_DIRNAME := powerpc-linux-gnu ++MULTIARCH_DIRNAME = $(call if_multiarch,powerpc-linux-gnu) + endif + ifneq (,$(findstring powerpcle,$(target))) +-MULTIARCH_DIRNAME := $(subst -linux,le-linux,$(MULTIARCH_DIRNAME)) ++MULTIARCH_DIRNAME := $(call if_multiarch,$(subst -linux,le-linux,$(MULTIARCH_DIRNAME))) + endif + ifneq (,$(findstring powerpc64le,$(target))) + MULTILIB_OSDIRNAMES := m64=../lib |