Fix PR ada/97859, building ada cross compiler targeting powerpc64le-linux-gnu
authorMatthias Klose <doko@ubuntu.com>
Wed, 18 Nov 2020 12:24:33 +0000 (13:24 +0100)
committerMatthias Klose <doko@ubuntu.com>
Wed, 18 Nov 2020 12:24:33 +0000 (13:24 +0100)
2020-11-18  Matthias Klose  <doko@ubuntu.com>

PR ada/97859
* Makefile.rtl (powerpc% linux%): Also match powerpc64le cpu.

gcc/ada/Makefile.rtl

index 6d9efc4..4774e91 100644 (file)
@@ -2305,7 +2305,7 @@ ifeq ($(strip $(filter-out powerpc% linux%,$(target_cpu) $(target_os))),)
   $(ATOMICS_BUILTINS_TARGET_PAIRS) \
   system.ads<libgnat/system-linux-ppc.ads
 
-  ifeq ($(strip $(filter-out powerpc64,$(target_cpu))),)
+  ifeq ($(strip $(filter-out powerpc64%,$(target_cpu))),)
     ifneq ($(strip $(MULTISUBDIR)),/32)
       LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS)
       EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS)