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
This commit is contained in:
Laurent GUERBY 2004-10-04 19:10:02 +00:00 committed by Laurent Guerby
parent 952d9d9ffb
commit 110aba1432
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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