Make-lang.in (c++-filt): Link libiberty.a after cxxmain.o.
authorPer Bothner <bothner@cygnus.com>
Mon, 21 Sep 1998 13:12:10 +0000 (13:12 +0000)
committerPer Bothner <bothner@gcc.gnu.org>
Mon, 21 Sep 1998 13:12:10 +0000 (06:12 -0700)

* Make-lang.in (c++-filt):  Link libiberty.a after cxxmain.o.

From-SVN: r22527

gcc/cp/ChangeLog
gcc/cp/Make-lang.in

index df110e7e3728d99f6ca8727a95b7aa6305030803..40293b886bd81fa3c31191f6f27f2fda29ed80b2 100644 (file)
@@ -1,3 +1,7 @@
+1998-09-21  Per Bothner  <bothner@cygnus.com>
+
+       * Make-lang.in (c++-filt):  Link libiberty.a after cxxmain.o.
+
 Mon Sep 21 01:53:05 1998  Felix Lee  <flee@cygnus.com>
 
         * lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
index 70e1459a5c3d301c5dbeb278bf1366efb0fa7b6e..320ffc3e7f229aaec2529c3a80dad4365b655dc4 100644 (file)
@@ -110,8 +110,8 @@ cxxmain.o: $(srcdir)/../libiberty/cplus-dem.c demangle.h
          -DVERSION=\"$(version)\" cxxmain.c
 
 $(DEMANGLER_PROG): cxxmain.o underscore.o getopt.o getopt1.o $(LIBDEPS)
-       $(CC) $(ALL_CFLAGS) $(LDFLAGS) $(LIBS) -o $@ \
-         cxxmain.o underscore.o getopt.o getopt1.o
+       $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \
+         cxxmain.o underscore.o getopt.o getopt1.o $(LIBS)
 
 CXX_SRCS = $(srcdir)/cp/call.c $(srcdir)/cp/decl2.c \
  $(srcdir)/cp/except.c $(srcdir)/cp/input.c $(srcdir)/cp/pt.c \