From 10b95d4f84e331bc0d96a814d1c8d273dac146ca Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 9 Aug 2007 21:07:24 +1000 Subject: [PATCH] --- yaml --- r: 63739 b: refs/heads/master c: e3bcf5e2785aa49f75f36a8d27d601891a7ff12b h: refs/heads/master i: 63737: 4a01f67e04160f10b0f55ed1e4d06f56ec0ea56c 63735: af14616c1104a896aae443c2b08bc32541b5cd2a v: v3 --- [refs] | 2 +- trunk/Documentation/lguest/Makefile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index dbaa987f0a4d..55f838c0ce3c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0d027c01cd36b8cff727c78d2e40d334ba9895a8 +refs/heads/master: e3bcf5e2785aa49f75f36a8d27d601891a7ff12b diff --git a/trunk/Documentation/lguest/Makefile b/trunk/Documentation/lguest/Makefile index 31e794ef5f98..c0b7a4556390 100644 --- a/trunk/Documentation/lguest/Makefile +++ b/trunk/Documentation/lguest/Makefile @@ -13,7 +13,9 @@ LGUEST_GUEST_TOP := ($(CONFIG_PAGE_OFFSET) - 0x08000000) CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -Wl,-T,lguest.lds LDLIBS:=-lz - +# Removing this works for some versions of ld.so (eg. Ubuntu Feisty) and +# not others (eg. FC7). +LDFLAGS+=-static all: lguest.lds lguest # The linker script on x86 is so complex the only way of creating one