* gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 8 Feb 2011 22:55:57 +0000 (22:55 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 8 Feb 2011 22:55:57 +0000 (22:55 +0000)
From-SVN: r169950

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

index c520f728562237d6659b8a6ba8d521719afba79f..f496bb4021fff5a0216738bbf7b702943be5c602 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-08  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
+
 2011-02-03  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of
index 29a79d778e28b94707ec6e58a327921b4d1c2613..b64ba55792bc92c3bb2ca2895f5b227a3f758d63 100644 (file)
@@ -2142,12 +2142,18 @@ ifeq ($(strip $(filter-out darwin%,$(osys))),)
     s-taprop.adb<s-taprop-posix.adb \
     s-taspri.ads<s-taspri-posix.ads \
     s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
-    a-numaux.ads<a-numaux-x86.ads \
-    a-numaux.adb<a-numaux-x86.adb \
     g-trasym.ads<g-trasym-unimplemented.ads \
     g-trasym.adb<g-trasym-unimplemented.adb \
-    system.ads<system-darwin-x86_64.ads \
+    a-numaux.ads<a-numaux-x86.ads \
+    a-numaux.adb<a-numaux-x86.adb \
     $(ATOMICS_TARGET_PAIRS)
+    ifeq ($(strip $(MULTISUBDIR)),/i386)
+      LIBGNAT_TARGET_PAIRS += \
+      system.ads<system-darwin-x86.ads
+    else
+      LIBGNAT_TARGET_PAIRS += \
+      system.ads<system-darwin-x86_64.ads
+    endif
   endif
 
   ifeq ($(strip $(filter-out powerpc%,$(arch))),)