Commit c136d696 by Jakub Jelinek Committed by Jakub Jelinek

re PR bootstrap/51201 (build error without Ada compiler installed)

	PR bootstrap/51201
	* gcc-interface/Make-lang.in: Initialize RTS_DIR with = instead of :=.

From-SVN: r181877
parent a95888bb
2011-12-01 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/51201
* gcc-interface/Make-lang.in: Initialize RTS_DIR with = instead of :=.
2011-11-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-11-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* s-taprop-tru64.adb (Create_Task): Use Unrestricted_Access. * s-taprop-tru64.adb (Create_Task): Use Unrestricted_Access.
......
...@@ -118,7 +118,7 @@ ifeq ($(build), $(host)) ...@@ -118,7 +118,7 @@ ifeq ($(build), $(host))
# put the host RTS dir first in the PATH to hide the default runtime # put the host RTS dir first in the PATH to hide the default runtime
# files that are among the sources # files that are among the sources
RTS_DIR:=$(strip $(subst \,/,$(shell gnatls -v | grep adalib ))) RTS_DIR=$(strip $(subst \,/,$(shell gnatls -v | grep adalib )))
ADA_TOOLS_FLAGS_TO_PASS=\ ADA_TOOLS_FLAGS_TO_PASS=\
CC="$(CC)" \ CC="$(CC)" \
...@@ -153,7 +153,7 @@ else ...@@ -153,7 +153,7 @@ else
else else
# This is a canadian cross. We should use a toolchain running on the # This is a canadian cross. We should use a toolchain running on the
# build platform and targeting the host platform. # build platform and targeting the host platform.
RTS_DIR:=$(strip $(subst \,/,$(shell $(GNATLS_FOR_HOST) -v | grep adalib ))) RTS_DIR=$(strip $(subst \,/,$(shell $(GNATLS_FOR_HOST) -v | grep adalib )))
ADA_TOOLS_FLAGS_TO_PASS=\ ADA_TOOLS_FLAGS_TO_PASS=\
CC="$(CC)" \ CC="$(CC)" \
$(COMMON_FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) \ $(COMMON_FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment