2012-12-19 Roland Stigge <stigge@debian.org>
Matthias Klose <doko@ubuntu.com>
* config/rs6000/t-spe (MULTIARCH_DIRNAME): Remove.
* config/rs6000/t-linux (MULTIARCH_DIRNAME): Define name for
powerpc-linux-gnuspe.
===================================================================
@@ -71,7 +71,3 @@
mabi=altivec/mlittle \
maltivec/mlittle \
maltivec/mabi=altivec/mlittle
-
-ifneq (,$(findstring linux, $(target)))
-MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file)),,v1)
-endif
===================================================================
@@ -1,5 +1,9 @@
# do not define the multiarch name if configured for a soft-float cpu
# or soft-float.
ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
+ifneq (,$(findstring spe,$(target)))
+MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file_list)),,v1)
+else
MULTIARCH_DIRNAME = powerpc-linux-gnu
endif
+endif