re PR ada/5911 (Support for multilib in Ada)

PR ada/5911
	* gcc-interface/Makefile.in (SPARC/Solaris): Add multilib support.

From-SVN: r140687
This commit is contained in:
Eric Botcazou 2008-09-26 08:33:04 +00:00 committed by Eric Botcazou
parent 0edc11f5ab
commit 8f5730b997
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-09-26 Eric Botcazou <ebotcazou@adacore.com>
PR ada/5911
* gcc-interface/Makefile.in (SPARC/Solaris): Add multilib support.
2008-09-25 Samuel Tardieu <sam@rfc1149.net>
PR ada/37641

View File

@ -763,9 +763,17 @@ ifeq ($(strip $(filter-out sparc% sun solaris%,$(targ))),)
system.ads<system-solaris-sparcv9.ads
ifeq ($(strip $(filter-out sparc sun solaris%,$(targ))),)
LIBGNAT_TARGET_PAIRS = $(LIBGNAT_TARGET_PAIRS_32)
ifeq ($(strip $(MULTISUBDIR)),/sparcv9)
LIBGNAT_TARGET_PAIRS = $(LIBGNAT_TARGET_PAIRS_64)
else
LIBGNAT_TARGET_PAIRS = $(LIBGNAT_TARGET_PAIRS_32)
endif
else
LIBGNAT_TARGET_PAIRS = $(LIBGNAT_TARGET_PAIRS_64)
ifeq ($(strip $(MULTISUBDIR)),/sparcv7)
LIBGNAT_TARGET_PAIRS = $(LIBGNAT_TARGET_PAIRS_32)
else
LIBGNAT_TARGET_PAIRS = $(LIBGNAT_TARGET_PAIRS_64)
endif
endif
TOOLS_TARGET_PAIRS=mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb