[PATCH] [PATCH] Move $(LIBS) on the end

Simon Horman horms at verge.net.au
Tue Aug 26 22:13:47 EDT 2008


On Tue, Aug 26, 2008 at 10:16:49AM +0200, Bernhard Walle wrote:
> 1 file changed, 1 insertion(+), 2 deletions(-)
> kexec/Makefile |    3 +--
> 
> 
> To make static compilation work with
> 
>     LDFLAGS=-static ./configure
>     make
> 
> we have to move $(LIBS) on the end of the compiler line. Static compilation has
> been requested by "Yinghai Lu" <yhlu.kernel at gmail.com>. Although I don't see the
> practical benefit in most cases, I don't think we should not support it. Since
> kexec does not use name resolution functions of libc, it's valid to use static
> linking.
> 
> Tested on x86_64-suse-linux.
> 
> 
> Signed-off-by: Bernhard Walle <bwalle at suse.de>

Thanks. I agree that static is entirely sensible for kexec-tools.

Applied




More information about the kexec mailing list