[PATCH 2 of 2] kvm-userspace: ppc: Move the -ffreestanding option to the right location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# HG changeset patch
# User Deepa Srinivasan <deepas@xxxxxxxxxx>
# Date 1227381016 21600
# Node ID 285f7f7d0b0b574edcde943e43a0218e477e50bb
# Parent  47c2e401b8e2c995da56dad4a167f6f59352f94e
kvm-userspace: ppc: Move the -ffreestanding option to the right location.

From: Deepa Srinivasan <deepas@xxxxxxxxxx>

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 <deepas@xxxxxxxxxx>
---

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

[diff]

diff -r 47c2e401b8e2 -r 285f7f7d0b0b user/config-powerpc.mak
--- a/user/config-powerpc.mak	Sat Nov 22 13:10:16 2008 -0600
+++ b/user/config-powerpc.mak	Sat Nov 22 13:10:16 2008 -0600
@@ -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 := \
--
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

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux