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 <wei.liu2@citrix.com>
This commit is contained in:
Wei Liu committed 2017-01-24 16:24:50 +00:00
1 parent 9315fa0ef7
commit b2f006fdc0
1 file changed
+1 -1
+1 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.