Fix PR ada/49097 (missing gnatbind dependency)

Message ID
State New
Headers show

Commit Message

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

	PR ada/49097
	* gcc-interface/ (gnatbind$(exeext)): Depend on


Index: ada/gcc-interface/
--- ada/gcc-interface/	(revision 173994)
+++ ada/gcc-interface/	(working copy)
@@ -484,7 +484,7 @@ 
 	$(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