Patchwork Fix PR ada/49097 (missing gnatbind dependency)

login
register
mail settings
Submitter Joseph S. Myers
Date May 21, 2011, 7:45 p.m.
Message ID <Pine.LNX.4.64.1105211943000.17692@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/96708/
State New
Headers show

Comments

Joseph S. Myers - May 21, 2011, 7:45 p.m.
I've committed this patch as obvious to fix PR ada/49097, a missing 
gnatbind dependency that resulted in intermittent link failures with my 
libcommon.a patch.

2011-05-21  Joseph Myers  <joseph@codesourcery.com>

	PR ada/49097
	* gcc-interface/Make-lang.in (gnatbind$(exeext)): Depend on
	$(LIBDEPS).

Patch

Index: ada/gcc-interface/Make-lang.in
===================================================================
--- ada/gcc-interface/Make-lang.in	(revision 173994)
+++ ada/gcc-interface/Make-lang.in	(working copy)
@@ -484,7 +484,7 @@ 
 	$(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBS) $(SYSLIBS) $(BACKENDLIBS) $(CFLAGS)
 	$(RM) stamp-gnatlib2-rts stamp-tools
 
-gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS)
+gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS) $(LIBDEPS)
 	$(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(LIBS) $(SYSLIBS) $(CFLAGS)
 
 # use cross-gcc