mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
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:
1 parent
9315fa0ef7
commit
b2f006fdc0
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||