ruby-changes:27526
From: nobu <ko1@a...>
Date: Mon, 4 Mar 2013 14:14:01 +0900 (JST)
Subject: [ruby-changes:27526] nobu:r39578 (trunk): Makefile.in: move MAINLIBC after objects
nobu 2013-03-04 14:13:48 +0900 (Mon, 04 Mar 2013) New Revision: 39578 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39578 Log: Makefile.in: move MAINLIBC after objects * Makefile.in (miniruby, ruby): move MAINLIBC because linker arguments must appear after object files with newer versions of gcc. patch by tmm1 (Aman Gupta) in [ruby-core:53121] [Bug #8009] Modified files: trunk/ChangeLog trunk/Makefile.in Index: ChangeLog =================================================================== --- ChangeLog (revision 39577) +++ ChangeLog (revision 39578) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Mar 4 14:13:36 2013 Nobuyoshi Nakada <nobu@r...> + + * Makefile.in (miniruby, ruby): move MAINLIBC because linker arguments + must appear after object files with newer versions of gcc. patch by + tmm1 (Aman Gupta) in [ruby-core:53121] [Bug #8009] + Mon Mar 4 10:23:00 2013 Zachary Scott <zachary@z...> * encoding.c: Typo in Encoding overview by Tom Wardrop [GH fixes #255] Index: Makefile.in =================================================================== --- Makefile.in (revision 39577) +++ Makefile.in (revision 39578) @@ -197,12 +197,12 @@ all: https://github.com/ruby/ruby/blob/trunk/Makefile.in#L197 miniruby$(EXEEXT): @-if test -f $@; then $(MV) -f $@ $@.old; $(RM) $@.old; fi $(ECHO) linking $@ - $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(DTRACE_OBJ) $(LIBS) $(OUTFLAG)$@ + $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(DTRACE_OBJ) $(MAINLIBS) $(LIBS) $(OUTFLAG)$@ $(PROGRAM): @$(RM) $@ $(ECHO) linking $@ - $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) $(EXTLIBS) $(OUTFLAG)$@ + $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(MAINLIBS) $(LIBS) $(EXTLIBS) $(OUTFLAG)$@ $(Q) $(POSTLINK) # We must `rm' the library each time this rule is invoked because "updating" a -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/