aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 25742e2aed..5116294561 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -62,6 +62,11 @@ speed: sha1 sha1-i386
runcom: runcom.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+# NOTE: -fomit-frame-pointer is currently needed : this is a bug in libqemu
+qruncom: qruncom.c ../i386-user/libqemu.a
+ $(CC) $(CFLAGS) -fomit-frame-pointer $(LDFLAGS) -I../target-i386 -I.. -I../i386-user \
+ -o $@ $< -L../i386-user -lqemu -lm
+
# arm test
hello-arm: hello-arm.o
arm-linux-ld -o $@ $<