From: Deepa Srinivasan <deepas@xxxxxxxxxx> Move the "-ffreestanding" compiler option (to avoid built-in functions) to the correct place in the Makefile. Signed-off-by: Deepa Srinivasan <deepas@xxxxxxxxxx> Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- user/config-powerpc.mak | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/user/config-powerpc.mak b/user/config-powerpc.mak index 297bce4..79af245 100644 --- a/user/config-powerpc.mak +++ b/user/config-powerpc.mak @@ -1,5 +1,6 @@ CFLAGS += -I $(KERNELDIR)/include CFLAGS += -Wa,-mregnames -I test/lib +CFLAGS += -ffreestanding cstart := test/powerpc/cstart.o @@ -7,7 +8,6 @@ cflatobjs += \ test/lib/powerpc/io.o $(libcflat): LDFLAGS += -nostdlib -$(libcflat): CFLAGS += -ffreestanding # these tests do not use libcflat simpletests := \ -- 1.5.6.5 -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html