Skip to contentSkip to conversation

kvm-userspace: ppc: Move the -ffreestanding option to

PATCH New Deepa Srinivasan 1 participant 1 message Nov 22, 2008

lore
Share & tools
lore
#0 lore raw

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.

---

[diffstat]

 config-powerpc.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[diff]

user/config-powerpc.mak +1 -1
diff -r 47c2e401b8e2 -r 285f7f7d0b0b 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 @@
 	test/lib/powerpc/io.o
 
 $(libcflat): LDFLAGS += -nostdlib
-$(libcflat): CFLAGS += -ffreestanding
 
 # these tests do not use libcflat
 simpletests := \