summaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-15 11:22:42 +0000
committerguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-15 11:22:42 +0000
commitb87b63aba392c9c8535b26d43a0182a3bf40c437 (patch)
treea2fb686bf4a3d9afac37aca440c1943863d2124b /gcc/ada/gcc-interface
parent20a44a69a49273acff084d7b0211ab142b687dba (diff)
downloadgcc-b87b63aba392c9c8535b26d43a0182a3bf40c437.tar.gz
2008-11-15 Laurent Guerby <laurent@guerby.net>
PR ada/37993 * gcc-interface/Makefile.in: Add multilib handling for x86_64 on darwin. * system-darwin-x86_64.ads: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141882 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r--gcc/ada/gcc-interface/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
index 3a07dda7979..bcf71343bb4 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -1720,8 +1720,14 @@ ifeq ($(strip $(filter-out darwin%,$(osys))),)
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 \
- system.ads<system-darwin-x86.ads
+ a-numaux.adb<a-numaux-x86.adb
+ ifeq ($(strip $(MULTISUBDIR)),/x86_64)
+ LIBGNAT_TARGET_PAIRS += \
+ system.ads<system-darwin-x86_64.ads
+ else
+ LIBGNAT_TARGET_PAIRS += \
+ system.ads<system-darwin-x86.ads
+ endif
else
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<a-intnam-darwin.ads \