summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-05 14:40:27 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-05 14:40:27 +0000
commit782bd3b14cd90096ff6d5d161fa1675cc23e66cb (patch)
tree12f403d1ad5cd1536b18d7cb28f60e85766795ab
parentd4086afc2b0e18f785e297548064d4439300ee4c (diff)
downloadgcc-782bd3b14cd90096ff6d5d161fa1675cc23e66cb.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108058 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/Makefile.in4
-rw-r--r--libada/ChangeLog4
-rw-r--r--libada/Makefile.in1
4 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index e3c9fdb259b..d418de5f577 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -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.
diff --git a/gcc/ada/Makefile.in b/gcc/ada/Makefile.in
index 2d7224056fe..b6886a98134 100644
--- a/gcc/ada/Makefile.in
+++ b/gcc/ada/Makefile.in
@@ -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)" \
diff --git a/libada/ChangeLog b/libada/ChangeLog
index 2e8bfc2cd53..127178d7967 100644
--- a/libada/ChangeLog
+++ b/libada/ChangeLog
@@ -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.
diff --git a/libada/Makefile.in b/libada/Makefile.in
index 3e0db0befe1..e975dd393c6 100644
--- a/libada/Makefile.in
+++ b/libada/Makefile.in
@@ -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.