[PATCH] BZ #14544: Use crtbeginT.o to statically link programs

H.J. Lu hjl.tools@gmail.com
Mon Sep 24 19:18:00 GMT 2012


On Mon, Sep 24, 2012 at 12:03 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Monday 24 September 2012 14:27:33 H.J. Lu wrote:
>> -+postctorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o`
>> ++postctorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o`
>
> why not just:
> +postctorT = $(+postctor)
> -mike

Sure.  It also works.

-- 
H.J.



More information about the Libc-alpha mailing list