tests/tcg/test_path.c incorporates source files that rely on GLib. Add GLIB_CFLAGS to QEMU_CFLAGS to fix the build.
Signed-off-by: Andreas Färber <afaer...@suse.de> --- tests/tcg/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile index 89e3342..64f661a 100644 --- a/tests/tcg/Makefile +++ b/tests/tcg/Makefile @@ -10,6 +10,7 @@ CC_X86_64=$(CC_I386) -m64 QEMU_INCLUDES += -I../.. CFLAGS=-Wall -O2 -g -fno-strict-aliasing #CFLAGS+=-msse2 +QEMU_CFLAGS += $(GLIB_CFLAGS) LDFLAGS= # TODO: automatically detect ARM and MIPS compilers, and run those too -- 2.1.4