From: Wei Liu Date: Thu, 19 Jan 2017 18:56:02 +0000 (+0000) Subject: tools/fuzz: fix compilation after 897129d X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2931 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b2f006fdc08655d9b06c8d4e4a2f491ff804f632;p=xen.git tools/fuzz: fix compilation after 897129d We need to add -D__XEN_TOOLS__ so that the correct register names are generated. Signed-off-by: Wei Liu --- diff --git a/tools/fuzz/x86_instruction_emulator/Makefile b/tools/fuzz/x86_instruction_emulator/Makefile index a97f50781e..505de39ab0 100644 --- a/tools/fuzz/x86_instruction_emulator/Makefile +++ b/tools/fuzz/x86_instruction_emulator/Makefile @@ -14,7 +14,7 @@ x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h: x86_emulate.c x86_emulate.h: %: [ -L $* ] || ln -sf $(XEN_ROOT)/tools/tests/x86_emulator/$* -CFLAGS += $(CFLAGS_xeninclude) +CFLAGS += $(CFLAGS_xeninclude) -D__XEN_TOOLS__ x86_emulate.o: x86_emulate.c x86_emulate.h x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h