X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2Flguest%2FMakefile;h=c0b7a4556390e7c15e3f088ab1368c5db3cb9cca;hb=ecaedfa385a6df297e17d6e9f296cc63f12c053f;hp=31e794ef5f98ad7ce428444e4bc73f540b0fe718;hpb=6a302358d87fedaf7bda12b8e909265ebf1ce674;p=karo-tx-linux.git diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile index 31e794ef5f98..c0b7a4556390 100644 --- a/Documentation/lguest/Makefile +++ b/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