2020-11-05 10:27:09 +00:00
|
|
|
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
|
|
|
|
index 6177d7569e3..f36a3dba482 100644
|
|
|
|
--- a/gcc/ada/gcc-interface/Makefile.in
|
|
|
|
+++ b/gcc/ada/gcc-interface/Makefile.in
|
|
|
|
@@ -338,7 +338,7 @@ GNATMAKE_OBJS = a-except.o ali.o ali-util.o aspects.o s-casuti.o alloc.o \
|
|
|
|
# picks up the right files. For a given target this must be coherent
|
|
|
|
# with MULTILIB_DIRNAMES defined in gcc/config/target/t-*.
|
|
|
|
|
|
|
|
-ifeq ($(strip $(filter-out %x86_64, $(target_cpu))),)
|
|
|
|
+ifeq ($(strip $(filter-out x86_64, $(target_cpu))),)
|
|
|
|
ifeq ($(strip $(MULTISUBDIR)),/32)
|
|
|
|
target_cpu:=i686
|
|
|
|
else
|
|
|
|
@@ -348,6 +348,11 @@ ifeq ($(strip $(filter-out %x86_64, $(target_cpu))),)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
+# The SuSE PowerPC64/Linux compiler is actually a 32-bit PowerPC compiler
|
2020-11-05 17:11:12 +00:00
|
|
|
+ifeq ($(strip $(filter-out powerpc64 suse linux%, $(target_cpu) $(target_vendor) $(target_os))),)
|
2020-11-05 10:27:09 +00:00
|
|
|
+ target_cpu:=powerpc
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
# Configuration of host tools
|
|
|
|
|
|
|
|
# Under linux, host tools need to be linked with -ldl
|