Message ID | yddehw8qsxx.fsf@manam.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
> 2011-12-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> > > * gcc-interface/Makefile.in (%86 linux%): > (LIBGNAT_TARGET_PAIRS_32): Split off from LIBGNAT_TARGET_PAIRS. > (LIBGNAT_TARGET_PAIRS_64): New. > (LIBGNAT_TARGET_PAIRS): Add either depending on multilib. OK, thanks. You can also backport it to 4.6 and 4.5 branches if you want.
Eric Botcazou <ebotcazou@adacore.com> writes: >> 2011-12-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> >> >> * gcc-interface/Makefile.in (%86 linux%): >> (LIBGNAT_TARGET_PAIRS_32): Split off from LIBGNAT_TARGET_PAIRS. >> (LIBGNAT_TARGET_PAIRS_64): New. >> (LIBGNAT_TARGET_PAIRS): Add either depending on multilib. > > OK, thanks. You can also backport it to 4.6 and 4.5 branches if you want. Probably not: I only test my own targets on branches for lack of time. Thanks. Rainer
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -1102,9 +1102,21 @@ ifeq ($(strip $(filter-out %86 linux%,$( a-exetim.ads<a-exetim-default.ads \ s-linux.ads<s-linux.ads \ s-osinte.adb<s-osinte-posix.adb \ - system.ads<system-linux-x86.ads \ - $(ATOMICS_TARGET_PAIRS) \ - $(X86_TARGET_PAIRS) + $(ATOMICS_TARGET_PAIRS) + + LIBGNAT_TARGET_PAIRS_32 = \ + $(X86_TARGET_PAIRS) \ + system.ads<system-linux-x86.ads + + LIBGNAT_TARGET_PAIRS_64 = \ + $(X86_64_TARGET_PAIRS) \ + system.ads<system-linux-x86_64.ads + + ifeq ($(strip $(MULTISUBDIR)),/64) + LIBGNAT_TARGET_PAIRS += $(LIBGNAT_TARGET_PAIRS_64) + else + LIBGNAT_TARGET_PAIRS += $(LIBGNAT_TARGET_PAIRS_32) + endif ifeq ($(strip $(filter-out xenomai,$(THREAD_KIND))),) LIBGNAT_TARGET_PAIRS += \