summaryrefslogtreecommitdiff
path: root/debian/patches/ada-mips64.diff
blob: a1377424feab5c3c4f6e65fa8e2b02ea4d907851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -1830,7 +1830,7 @@ ifeq ($(strip $(filter-out mips64el linu
   LIBGNAT_TARGET_PAIRS_64 = \
   system.ads<system-linux-mips64el.ads
 
-  ifeq ($(strip $(shell $(GCC_FOR_TARGET) $(GNATLIBCFLAGS) -print-multi-os-directory)),../lib64)
+  ifneq ($(strip $(MULTISUBDIR)),/32)
     LIBGNAT_TARGET_PAIRS = \
     $(LIBGNAT_TARGET_PAIRS_COMMON) $(LIBGNAT_TARGET_PAIRS_64)
   else