]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/65286 (When building on powerpc64le-unknown-linux-gnu, --disable-multili...
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 Mar 2015 13:54:11 +0000 (14:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 Mar 2015 13:54:11 +0000 (14:54 +0100)
PR target/65286
* config/rs6000/t-linux: For powerpc64* target set
MULTILIB_OSDIRNAMES instead of MULTIARCH_DIRNAME.

From-SVN: r221324

gcc/ChangeLog
gcc/config/rs6000/t-linux

index cd89eb707bf59776471706c2eb9316e777295dea..2ba106321a27a51e8f5a9e81542be41818532e8e 100644 (file)
@@ -1,3 +1,9 @@
+2015-03-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/65286
+       * config/rs6000/t-linux: For powerpc64* target set
+       MULTILIB_OSDIRNAMES instead of MULTIARCH_DIRNAME.
+
 2015-03-10  Oleg Endo  <olegendo@gcc.gnu.org>
 
        PR target/53988
index 61aced6ae0ee348a7c8a3245b396a506ca3e519d..8900e546969e206183a72e5172354aa14bf55c09 100644 (file)
@@ -2,7 +2,7 @@
 # or soft-float.
 ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
 ifneq (,$(findstring powerpc64,$(target)))
-MULTIARCH_DIRNAME := powerpc64-linux-gnu
+MULTILIB_OSDIRNAMES := .=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
 else
 ifneq (,$(findstring spe,$(target)))
 MULTIARCH_DIRNAME := powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file_list)),,v1)
@@ -10,7 +10,10 @@ else
 MULTIARCH_DIRNAME := powerpc-linux-gnu
 endif
 endif
-ifneq (,$(findstring powerpcle,$(target))$(findstring powerpc64le,$(target)))
+ifneq (,$(findstring powerpcle,$(target)))
 MULTIARCH_DIRNAME := $(subst -linux,le-linux,$(MULTIARCH_DIRNAME))
 endif
+ifneq (,$(findstring powerpc64le,$(target)))
+MULTILIB_OSDIRNAMES := $(subst -linux,le-linux,$(MULTILIB_OSDIRNAMES))
+endif
 endif