Re: [PATCH] Btrfs-progs: add static compile target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 09, 2013 at 08:57:42PM +0300, Sergei Trofimovich wrote:
> On Sat,  9 Feb 2013 00:19:29 +0100
> Ian Kumlien <pomac@xxxxxxxxxx> wrote:
> 
> > Sometimes, when you least expect it, a static binary is what you need to
> > rescue your data... Or just get a good enough handle on things to make
> > it work again ;)
> > 
> > "make static" is a gift to you, dear user with filesystem problems!
> 
> What's wrong with conventional LDFLAGS=-static make?

That doesn't work for me, does it actually work for you?

I'd say it wouldn't without adding LDFLAGS so that the compiler gets it
for all object compilations.

> > Anyway, on a more serious note, changed the cflags and ldflags so that
> > we create a smaller binary, 1.1MB stripped on my 64 bit system
> > (2.7MB with debug data)
> > 
> 
> -- 
> 
>   Sergei


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux