aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config/rs6000/t-linux
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/config/rs6000/t-linux')
-rw-r--r--gcc-4.9/gcc/config/rs6000/t-linux13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/rs6000/t-linux b/gcc-4.9/gcc/config/rs6000/t-linux
new file mode 100644
index 000000000..0b92eba46
--- /dev/null
+++ b/gcc-4.9/gcc/config/rs6000/t-linux
@@ -0,0 +1,13 @@
+# 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 8548,$(with_cpu)),,v1)
+else
+MULTIARCH_DIRNAME = powerpc-linux-gnu
+endif
+endif
+
+rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)