Makefile.in (FLAGS_TO_PASS): Add GCC_FOR_TARGET.

libada:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.in (FLAGS_TO_PASS): Add GCC_FOR_TARGET.

gcc/ada:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.in (gnatlib): Fix regex, using \. instead of . when
	a period is meant.

From-SVN: r108058
This commit is contained in:
Paolo Bonzini 2005-12-05 14:40:27 +00:00 committed by Paolo Bonzini
parent 25637db27c
commit 40077270f8
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-12-05 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (gnatlib): Fix regex, using \. instead of . when
a period is meant.
2005-12-02 Richard Guenther <rguenther@suse.de>
* trans.c (gnat_gimplify_expr): Use buildN instead of build.

View File

@ -1591,14 +1591,14 @@ GCC_FOR_TARGET=./xgcc -B./ $(FLAGS_FOR_TARGET)
gnatlib: ../stamp-gnatlib1 ../stamp-gnatlib2
$(MAKE) -C rts \
CC="`echo \"$(GCC_FOR_TARGET)\" \
| sed -e 's^./xgcc^../../xgcc^' -e 's^-B./^-B../../^'`" \
| sed -e 's,^\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'`" \
INCLUDES="$(INCLUDES_FOR_SUBDIR) -I./../.." \
CFLAGS="$(GNATLIBCFLAGS_FOR_C)" \
srcdir=$(fsrcdir) \
-f ../Makefile $(LIBGNAT_OBJS)
$(MAKE) -C rts \
CC="`echo \"$(GCC_FOR_TARGET)\" \
| sed -e 's^\./xgcc^../../xgcc^' -e 's^-B./^-B../../^'`" \
| sed -e 's,^\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'`" \
ADA_INCLUDES="" \
CFLAGS="$(GNATLIBCFLAGS)" \
ADAFLAGS="$(GNATLIBFLAGS)" \

View File

@ -1,3 +1,7 @@
2005-12-05 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (FLAGS_TO_PASS): Add GCC_FOR_TARGET.
2005-04-27 James E Wilson <wilson@specifixinc.com>
* Makefile.in (html): New.

View File

@ -75,6 +75,7 @@ FLAGS_TO_PASS = \
"prefix=$(prefix)" \
"STAGE_PREFIX=$(STAGE_PREFIX)" \
"CC=$(host_cc_for_libada)" \
"GCC_FOR_TARGET=$(CC)" \
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)"
# Rules to build gnatlib.