[GOLD] PATCH: Don't generate .gmo files in source tree

H.J. Lu hongjiu.lu@intel.com
Mon Nov 2 21:39:00 GMT 2009


Gold shouldn't generate .gmo files source tree.


H.J.
---
2009-11-03  H.J. Lu  <hongjiu.lu@intel.com>

	* po/Make-in (.po.gmo): Don't generate .gmo files in source
	tree.

diff --git a/gold/po/Make-in b/gold/po/Make-in
index 88ce78f..86ff314 100644
--- a/gold/po/Make-in
+++ b/gold/po/Make-in
@@ -73,7 +73,7 @@ INSTOBJEXT = @INSTOBJEXT@
 	$(MSGFMT) -o $@ $<
 
 .po.gmo:
-	file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
+	file=`echo $* | sed 's,.*/,,'`.gmo \
 	  && rm -f $$file && $(GMSGFMT) -o $$file $<
 
 .po.cat:



More information about the Binutils mailing list