public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove -static from Documentation/lguest/Makefile
@ 2007-07-19 20:13 S.Çağlar Onur
  2007-07-20 12:02 ` Rusty Russell
  0 siblings, 1 reply; 5+ messages in thread
From: S.Çağlar Onur @ 2007-07-19 20:13 UTC (permalink / raw)
  To: rusty; +Cc: LKML

Hi;

Remove -static from Documentation/lguest/Makefile, most distros only provides shared library form of zlib in their default installation. 
And shared linking also provides litte tiny security for hypotetical security problems will be introduced by zlib :).

Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>

Documentation/lguest/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile
index b9b9427..2331179 100644
--- a/Documentation/lguest/Makefile
+++ b/Documentation/lguest/Makefile
@@ -12,7 +12,7 @@ include $(KBUILD_OUTPUT)/.config
 LGUEST_GUEST_TOP := ($(CONFIG_PAGE_OFFSET) - 0x08000000)
 
 CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 \
-	-static -DLGUEST_GUEST_TOP="$(LGUEST_GUEST_TOP)" -Wl,-T,lguest.lds
+	-DLGUEST_GUEST_TOP="$(LGUEST_GUEST_TOP)" -Wl,-T,lguest.lds
 LDLIBS:=-lz
 
 all: lguest.lds lguest

Cheers
-- 
S.Çağlar Onur <caglar@pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-22 11:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19 20:13 [PATCH] Remove -static from Documentation/lguest/Makefile S.Çağlar Onur
2007-07-20 12:02 ` Rusty Russell
2007-07-20 15:39   ` Jeremy Fitzhardinge
2007-07-22 11:09     ` Rusty Russell
2007-07-22 11:12   ` [PATCH] Make lguest example launcher non-static and simplify Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox