xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/t-linux (revision 678f798eafb4a421dfa25a85d03455fafa0c7f50)
1# do not define the multiarch name if configured for a soft-float cpu
2# or soft-float.
3ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
4ifneq (,$(findstring powerpc64,$(target)))
5MULTILIB_OSDIRNAMES := .=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
6else
7ifneq (,$(findstring spe,$(target)))
8MULTIARCH_DIRNAME := powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file_list)),,v1)
9else
10MULTIARCH_DIRNAME := powerpc-linux-gnu
11endif
12endif
13ifneq (,$(findstring powerpcle,$(target)))
14MULTIARCH_DIRNAME := $(subst -linux,le-linux,$(MULTIARCH_DIRNAME))
15endif
16ifneq (,$(findstring powerpc64le,$(target)))
17MULTILIB_OSDIRNAMES := $(subst -linux,le-linux,$(MULTILIB_OSDIRNAMES))
18endif
19endif
20