These are added already by the compiler. Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> --- config/config-arm.mak | 1 - config/config-arm64.mak | 2 -- config/config-i386.mak | 1 - config/config-x86_64.mak | 2 +- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/config/config-arm.mak b/config/config-arm.mak index 16e2cb5..ae6c2e7 100644 --- a/config/config-arm.mak +++ b/config/config-arm.mak @@ -8,7 +8,6 @@ ldarch = elf32-littlearm kernel_offset = 0x10000 machine = -marm -CFLAGS += -D__arm__ CFLAGS += $(machine) CFLAGS += -mcpu=$(PROCESSOR) diff --git a/config/config-arm64.mak b/config/config-arm64.mak index 91255e7..5f8550e 100644 --- a/config/config-arm64.mak +++ b/config/config-arm64.mak @@ -7,8 +7,6 @@ bits = 64 ldarch = elf64-littleaarch64 kernel_offset = 0x80000 -CFLAGS += -D__aarch64__ - cstart.o = $(TEST_DIR)/cstart64.o cflatobjs += lib/arm64/processor.o diff --git a/config/config-i386.mak b/config/config-i386.mak index 82fed0f..503a3be 100644 --- a/config/config-i386.mak +++ b/config/config-i386.mak @@ -1,7 +1,6 @@ cstart.o = $(TEST_DIR)/cstart.o bits = 32 ldarch = elf32-i386 -CFLAGS += -D__i386__ CFLAGS += -I $(KERNELDIR)/include tests = $(TEST_DIR)/taskswitch.flat $(TEST_DIR)/taskswitch2.flat diff --git a/config/config-x86_64.mak b/config/config-x86_64.mak index de3b8b0..dbbdaf5 100644 --- a/config/config-x86_64.mak +++ b/config/config-x86_64.mak @@ -1,7 +1,7 @@ cstart.o = $(TEST_DIR)/cstart64.o bits = 64 ldarch = elf64-x86-64 -CFLAGS += -D__x86_64__ -mno-red-zone +CFLAGS += -mno-red-zone tests = $(TEST_DIR)/access.flat $(TEST_DIR)/apic.flat \ $(TEST_DIR)/emulator.flat $(TEST_DIR)/idt_test.flat \ -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html