]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 8 Feb 2011 22:56:06 +0000 (22:56 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 8 Feb 2011 22:56:06 +0000 (22:56 +0000)
From-SVN: r169951

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

index 4cc3a956c724ad23b81e0faff8e80acd09f8b7c4..b658029ab9681903a66a4c4fabeecb509b2180e3 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-08  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
+
 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
index 628746c6a5196dd985ac5865a12e459cfafbcb53..2dad96baee006f8595587f59d998eaeec578fe0c 100644 (file)
@@ -2143,11 +2143,17 @@ 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
+    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))),)