summaryrefslogblamecommitdiff
path: root/system/gcc/disable-multiarch-ppc32.patch
blob: 5ca9a1d0d92da04430356f11dcfa353cc76455e6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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