Message ID | 1428777292-24628-2-git-send-email-afaerber@suse.de |
---|---|
State | New |
Headers | show |
Andreas Färber <afaerber@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 <afaerber@suse.de> Reviewed-by: Alex Bennée <alex.bennee@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
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
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 <afaerber@suse.de> --- tests/tcg/Makefile | 1 + 1 file changed, 1 insertion(+)