From dd7ce07b4cee83309c152aacebf39fb17b907675 Mon Sep 17 00:00:00 2001 From: Matt Evans Date: Sun, 5 Feb 2012 22:36:59 +1100 Subject: [PATCH] kvm tools: Enable PPC64 to build static By "enable", I mean "fix"; the re-jigged commit 7ef85e8b builds libfdt using OBJS rather than OTHEROBJS hence ignores the relaxed CFLAGS. This commit builds it via OTHEROBJS. Signed-off-by: Matt Evans Signed-off-by: Pekka Enberg --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4dc2522..cfa5547 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ ifeq ($(uname_M), ppc64) # We use libfdt, but it's sometimes not packaged 64bit. It's small too, # so just build it in: CFLAGS += -I../../scripts/dtc/libfdt - OBJS += $(LIBFDT_OBJS) + OTHEROBJS += $(LIBFDT_OBJS) ARCH_INCLUDE := powerpc/include CFLAGS += -m64 endif