Andreas Färber <afaer...@suse.de> writes:

> 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>

Reviewed-by: Alex Bennée <alex.ben...@linaro.org>

> ---
>  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

-- 
Alex Bennée

Reply via email to