Makefile.in (cc1plus): Put CXX_OBJS, and thence @extra_cxx_objs@, last.
authorRichard Henderson <rth@cygnus.com>
Wed, 28 Oct 1998 22:26:24 +0000 (14:26 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 28 Oct 1998 22:26:24 +0000 (14:26 -0800)
        * Makefile.in (cc1plus): Put CXX_OBJS, and thence @extra_cxx_objs@,
        last.

From-SVN: r23414

gcc/cp/ChangeLog
gcc/cp/Makefile.in

index 1e07758b00d2da0594167727289fa151a365da7c..4ae7b594275c907a9746dbe17b1d7cfdbd98e41a 100644 (file)
@@ -1,3 +1,8 @@
+1998-10-29  Richard Henderson  <rth@cygnus.com>
+
+       * Makefile.in (cc1plus): Put CXX_OBJS, and thence @extra_cxx_objs@,
+       last.
+
 1998-10-28  Jason Merrill  <jason@yorick.cygnus.com>
 
        * class.c (instantiate_type): Don't consider templates for a normal
index 425bedd3dd2261b1eb975e37dc31503ae45c0a46..9999f117b10a9c48dee82d56f12d9b85c17a4448 100644 (file)
@@ -188,9 +188,8 @@ OBJS = `cat ../stamp-objlist` ../c-common.o ../c-pragma.o
 OBJDEPS = ../stamp-objlist ../c-common.o ../c-pragma.o
 
 compiler: ../cc1plus$(exeext)
-../cc1plus$(exeext): $(P) $(CXX_OBJS) $(OBJDEPS) $(LIBDEPS)
-       $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \
-             $(CXX_OBJS) $(OBJS) $(LIBS)
+../cc1plus$(exeext): $(P) $(OBJDEPS) $(CXX_OBJS) $(LIBDEPS)
+       $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(CXX_OBJS) $(LIBS)
 
 Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
        cd ..; $(SHELL) config.status