diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-31 15:19:24 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-31 15:19:24 +0000 |
commit | a44c7c15ac7c6a212aeecb183359f7cc5598c8af (patch) | |
tree | 80c7b53acb5dc0b69f987a7ed4fee30a3182b55d /tests | |
parent | 8aadfbf0d12f39ff06d757b6b4135a93c438c04a (diff) |
compilation fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3939 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile index f8bad3232e..1775be8684 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -31,12 +31,12 @@ test_path: test_path.c # i386/x86_64 emulation test (test various opcodes) */ test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ test-i386.h test-i386-shift.h test-i386-muldiv.h - $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ \ + $(CC) -m32 $(CFLAGS) $(LDFLAGS) -static -o $@ \ test-i386.c test-i386-code16.S test-i386-vm86.S -lm test-x86_64: test-i386.c \ test-i386.h test-i386-shift.h test-i386-muldiv.h - $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm + $(CC) -m64 $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm ifeq ($(ARCH),i386) test: test-i386 |