kvm-userspace: ppc: Move the -ffreestanding option to
PATCH 1/1 kvm-userspace: ppc: Move the -ffreestanding option to
# HG changeset patch
# User Deepa Srinivasan <[email protected]>
# Date 1227381016 21600
# Node ID 285f7f7d0b0b574edcde943e43a0218e477e50bb
# Parent 47c2e401b8e2c995da56dad4a167f6f59352f94e
kvm-userspace: ppc: Move the -ffreestanding option to the right location.
From: Deepa Srinivasan <[email protected]>
Move the "-ffreestanding" compiler option (to avoid any checks for built-in functions) to the correct place in the make file.
Signed-off-by Deepa Srinivasan <[email protected]>
---
[diffstat]
config-powerpc.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[diff]
user/config-powerpc.mak +1 -1
@@ -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 @@ test/lib/powerpc/io.o $(libcflat): LDFLAGS += -nostdlib -$(libcflat): CFLAGS += -ffreestanding # these tests do not use libcflat simpletests := \