OSDN Git Service

2010-06-12 Kai Tietz
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2010 13:19:17 +0000 (13:19 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2010 13:19:17 +0000 (13:19 +0000)
        PR ada/43731
        * gcc-interface/Makefile.in: Add rules for multilib x86/x64
        mingw targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160662 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in

index 828f031..83f9636 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-12  Kai Tietz
+
+       PR ada/43731
+       * gcc-interface/Makefile.in: Add rules for multilib x86/x64
+       mingw targets.
+
 2010-06-11  Alexandre Oliva  <aoliva@redhat.com>
 
        * gcc-interface/utils.c (update_pointer_to): Initialize last.
index 236903d..8a3254f 100644 (file)
@@ -1637,11 +1637,21 @@ ifeq ($(strip $(filter-out cygwin32% mingw32% pe,$(osys))),)
     s-taprop.adb<s-taprop-mingw.adb
 
     ifeq ($(strip $(filter-out x86_64%,$(arch))),)
-      LIBGNAT_TARGET_PAIRS += \
-        system.ads<system-mingw-x86_64.ads
+      ifeq ($(strip $(MULTISUBDIR)),/32)
+       LIBGNAT_TARGET_PAIRS += \
+         system.ads<system-mingw.ads
+      else
+       LIBGNAT_TARGET_PAIRS += \
+         system.ads<system-mingw-x86_64.ads
+      endif
     else
-      LIBGNAT_TARGET_PAIRS += \
-        system.ads<system-mingw.ads
+      ifeq ($(strip $(MULTISUBDIR)),/64)
+       LIBGNAT_TARGET_PAIRS += \
+         system.ads<system-mingw-x86_64.ads
+      else
+       LIBGNAT_TARGET_PAIRS += \
+         system.ads<system-mingw.ads
+      endif
     endif
 
     EXTRA_GNATRTL_NONTASKING_OBJS = \