mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-16 01:59:58 +08:00
* gcc-interface/Make-lang.in (RTS_DIR): Define only if Ada is enabled.
From-SVN: r194384
This commit is contained in:
parent
74080cba9b
commit
33e4edab85
@ -1,3 +1,7 @@
|
||||
2012-12-11 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/Make-lang.in (RTS_DIR): Define only if Ada is enabled.
|
||||
|
||||
2012-12-08 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: Assert
|
||||
|
@ -122,7 +122,9 @@ ifeq ($(build), $(host))
|
||||
|
||||
# put the host RTS dir first in the PATH to hide the default runtime
|
||||
# files that are among the sources
|
||||
ifneq ($(findstring ada,$(LANGUAGES)),)
|
||||
RTS_DIR:=$(strip $(subst \,/,$(shell gnatls -v | grep adalib )))
|
||||
endif
|
||||
|
||||
ADA_TOOLS_FLAGS_TO_PASS=\
|
||||
CC="$(CC)" \
|
||||
@ -157,7 +159,9 @@ else
|
||||
else
|
||||
# This is a canadian cross. We should use a toolchain running on the
|
||||
# build platform and targeting the host platform.
|
||||
ifneq ($(findstring ada,$(LANGUAGES)),)
|
||||
RTS_DIR:=$(strip $(subst \,/,$(shell $(GNATLS_FOR_HOST) -v | grep adalib )))
|
||||
endif
|
||||
ADA_TOOLS_FLAGS_TO_PASS=\
|
||||
CC="$(CC)" \
|
||||
$(COMMON_FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) \
|
||||
|
Loading…
Reference in New Issue
Block a user