From: Deepa Srinivasan <[EMAIL PROTECTED]>
Move the "-ffreestanding" compiler option (to avoid built-in functions) to the
correct place in the Makefile.
Signed-off-by: Deepa Srinivasan <[EMAIL PROTECTED]>
Signed-off-by: Hollis Blanchard <[EMAIL PROTECTED]>
---
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" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html