PR tree-optimization/82929
[official-gcc.git] / gcc / config / rs6000 / t-linux
blobacfde1f48aecfd658b11258d9fdeb2dfa9871db6
1 # do not define the multiarch name if configured for a soft-float cpu
2 # or soft-float.
3 ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
4 ifneq (,$(findstring powerpc64,$(target)))
5 MULTILIB_OSDIRNAMES := .=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
6 else
7 MULTIARCH_DIRNAME := powerpc-linux-gnu
8 endif
9 ifneq (,$(findstring powerpcle,$(target)))
10 MULTIARCH_DIRNAME := $(subst -linux,le-linux,$(MULTIARCH_DIRNAME))
11 endif
12 ifneq (,$(findstring powerpc64le,$(target)))
13 MULTILIB_OSDIRNAMES := $(subst -linux,le-linux,$(MULTILIB_OSDIRNAMES))
14 endif
15 endif
17 rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.c
18         $(COMPILE) $<
19         $(POSTCOMPILE)