This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] Fixlet for ltrans-driver


We used to have no action associated with the 'all' target in the
Makefile generated by ltrans-driver.  This was causing random
failures when a file named 'all.s' existed in the directory.

Tested on x86_64.


Diego.


lto/ChangeLog

	* ltrans-driver: Execute a NOP action for target 'all'.

Index: lto/ltrans-driver
===================================================================
--- lto/ltrans-driver	(revision 142985)
+++ lto/ltrans-driver	(working copy)
@@ -79,6 +79,7 @@ do
 done
 
 echo "all: $outputlist" >> $makefile
+echo "	@true"		>> $makefile
 
 if [ $verbose -eq 1 ] ; then
   set -x


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]