aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLaurent GUERBY <laurent@guerby.net>2004-10-04 19:10:02 +0000
committerLaurent Guerby <guerby@gcc.gnu.org>2004-10-04 19:10:02 +0000
commit110aba1432fa485c5c0ca2ad499822b7bfafd208 (patch)
tree9c0164d3de9fc100df340e3d9ad20889ba136b5a /gcc
parent952d9d9ffb1a6779210730bcfaeae224922d45a4 (diff)
downloadgcc-110aba1432fa485c5c0ca2ad499822b7bfafd208.zip
gcc-110aba1432fa485c5c0ca2ad499822b7bfafd208.tar.gz
gcc-110aba1432fa485c5c0ca2ad499822b7bfafd208.tar.bz2
re PR ada/15156 (gnatlink does not link due to undefined symbol _gnat__strings_E)
2004-10-04 Laurent GUERBY <laurent@guerby.net> PR ada/15156 * Makefile.in: Define and use RANLIB_FLAGS. From-SVN: r88525
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/Makefile.in9
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d80f296..31ab953 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-04 Laurent GUERBY <laurent@guerby.net>
+
+ PR ada/15156
+ * Makefile.in: Define and use RANLIB_FLAGS.
+
2004-10-04 Pascal Obry <obry@gnat.com>
* tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all
diff --git a/gcc/ada/Makefile.in b/gcc/ada/Makefile.in
index 59d90f5..4c84b7c 100644
--- a/gcc/ada/Makefile.in
+++ b/gcc/ada/Makefile.in
@@ -106,6 +106,7 @@ AR = ar
AR_FLAGS = rc
LS = ls
RANLIB = @RANLIB@
+RANLIB_FLAGS = @ranlib_flags@
SHELL = @SHELL@
PWD_COMMAND = $${PWDCMD-pwd}
@@ -1696,7 +1697,7 @@ install-gnatlib: ../stamp-gnatlib
-$(INSTALL_DATA) rts/g-trasym$(objext) $(DESTDIR)$(ADA_RTL_OBJ_DIR)
-cd rts; for file in *$(arext);do \
$(INSTALL_DATA) $$file $(DESTDIR)$(ADA_RTL_OBJ_DIR); \
- $(RANLIB) $(DESTDIR)$(ADA_RTL_OBJ_DIR)/$$file; \
+ -$(RANLIB) $(RANLIB_FLAGS) $(DESTDIR)$(ADA_RTL_OBJ_DIR)/$$file; \
done
-$(foreach file, $(EXTRA_ADALIB_FILES), \
$(INSTALL_DATA_DATE) rts/$(file) $(DESTDIR)$(ADA_RTL_OBJ_DIR) && \
@@ -1788,13 +1789,13 @@ gnatlib: ../stamp-gnatlib1 ../stamp-gnatlib2
ifneq ($(PREFIX_OBJS),)
$(AR) $(AR_FLAGS) rts/libgccprefix$(arext) $(PREFIX_OBJS);
endif
- -$(RANLIB) rts/libgnat$(arext)
+ -$(RANLIB) $(RANLIB_FLAGS) rts/libgnat$(arext)
$(AR) $(AR_FLAGS) rts/libgnarl$(arext) \
$(addprefix rts/,$(GNATRTL_TASKING_OBJS))
- -$(RANLIB) rts/libgnarl$(arext)
+ -$(RANLIB) $(RANLIB_FLAGS) rts/libgnarl$(arext)
ifeq ($(GMEM_LIB),gmemlib)
$(AR) $(AR_FLAGS) rts/libgmem$(arext) rts/memtrack.o
- -$(RANLIB) rts/libgmem$(arext)
+ -$(RANLIB) $(RANLIB_FLAGS) rts/libgmem$(arext)
endif
$(CHMOD) a-wx rts/*.ali
touch ../stamp-gnatlib