Commit a44c7c15ac7c6a212aeecb183359f7cc5598c8af
1 parent
8aadfbf0
compilation fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3939 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
tests/Makefile
... | ... | @@ -31,12 +31,12 @@ test_path: test_path.c |
31 | 31 | # i386/x86_64 emulation test (test various opcodes) */ |
32 | 32 | test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ |
33 | 33 | test-i386.h test-i386-shift.h test-i386-muldiv.h |
34 | - $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ \ | |
34 | + $(CC) -m32 $(CFLAGS) $(LDFLAGS) -static -o $@ \ | |
35 | 35 | test-i386.c test-i386-code16.S test-i386-vm86.S -lm |
36 | 36 | |
37 | 37 | test-x86_64: test-i386.c \ |
38 | 38 | test-i386.h test-i386-shift.h test-i386-muldiv.h |
39 | - $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm | |
39 | + $(CC) -m64 $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm | |
40 | 40 | |
41 | 41 | ifeq ($(ARCH),i386) |
42 | 42 | test: test-i386 | ... | ... |