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]

[committed] make --enable-intermodule work after changes to the driver


Even after fixing IMA, we still have the problem of the Makefile.in not
supporting --enable-intermodule any more after a change to the driver
a while back which requires you to add -combine to the command line.

This patch fixes the Makefile.

I commited this patch as obvious.

Thanks,
Andrew Pinski

ChangeLog:
	* Makefile.in (libbackend.o): Add -combine to the gcc
	command line.

Patch:
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1320
diff -u -p -r1.1320 Makefile.in
--- Makefile.in 6 Jul 2004 16:28:29 -0000       1.1320
+++ Makefile.in 8 Jul 2004 08:10:00 -0000
@@ -2130,7 +2130,7 @@ libbackend.o : $(OBJS-common:.o=.c) $(ou
        $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
          -DTARGET_NAME=\"$(target_noncanonical)\" \
          -DLOCALEDIR=\"$(localedir)\" \
-         -c $(filter %.c,$^) -o $@
+         -c $(filter %.c,$^) -o $@ -combine
 
 #

 # Generate header and source files from the machine description,


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