summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorDeepa Srinivasan <deepas@us.ibm.com>2008-12-03 13:07:30 -0600
committerAvi Kivity <avi@redhat.com>2008-12-07 12:23:12 +0200
commitbb5cb0e9b29b35fad520cff8128ece1ddedfecbf (patch)
treefc77755577443e29a6248e2dbf4139c144be4059 /user
parentd9360357f61d62983e74d879561cb0f9b012a0b8 (diff)
kvm: user: ppc: Move -ffreestanding to the right location
Move the "-ffreestanding" compiler option (to avoid built-in functions) to the correct place in the Makefile. Signed-off-by: Deepa Srinivasan <deepas@us.ibm.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'user')
-rw-r--r--user/config-powerpc.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/config-powerpc.mak b/user/config-powerpc.mak
index 297bce47..79af245e 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 := \