re PR target/89587 (gcc's rs6000 configuration unconditionally sets MULTIARCH_DIRNAME...
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Mar 2019 17:25:01 +0000 (18:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Mar 2019 17:25:01 +0000 (18:25 +0100)
PR target/89587
* config/rs6000/t-linux (MULTIARCH_DIRNAME): Set to non-empty only
if_multiarch.

From-SVN: r269396

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

index c02e488..405bc38 100644 (file)
@@ -1,5 +1,9 @@
 2019-03-05  Jakub Jelinek  <jakub@redhat.com>
 
+       PR target/89587
+       * config/rs6000/t-linux (MULTIARCH_DIRNAME): Set to non-empty only
+       if_multiarch.
+
        PR middle-end/89590
        * builtins.c (maybe_emit_free_warning): Punt if free doesn't have
        exactly one argument.
index acfde1f..aeb7440 100644 (file)
@@ -4,7 +4,7 @@ ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
 ifneq (,$(findstring powerpc64,$(target)))
 MULTILIB_OSDIRNAMES := .=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
 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))