On 04/10/2018 04:39 PM, Alex Bennée wrote: > This is a direct syscall test so needs additional CFLAGS and LDFLAGS. > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > tests/tcg/i386/Makefile.target | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target > index 1df69e0dab..44803c0382 100644 > --- a/tests/tcg/i386/Makefile.target > +++ b/tests/tcg/i386/Makefile.target > @@ -9,6 +9,12 @@ CFLAGS+=$(CROSS_CC_GUEST_CFLAGS) > endif > endif > > +# > +# hello-i386 is a barebones app > +# > +hello-i386: CFLAGS+=-ffreestanding > +hello-i386: LDFLAGS+=-nostdlib > + > # > # test-386 includes a couple of additional objects that need to be linked > together > # >