Redhat 9 fixes
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 17 Sep 2003 22:57:56 +0000 (22:57 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 17 Sep 2003 22:57:56 +0000 (22:57 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@383 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile
Makefile.target

index 1ecf99c945fb6c149402671066148e94613e83f5..28b08cadeb608eb97ef86f626d5dc72c53462991 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ vl.c i386-vl.ld vl.h block.c vlmkcow.c vga.c vga_template.h sdl.c \
 thunk.c cpu-exec.c translate.c cpu-all.h cpu-defs.h thunk.h exec.h\
 exec.c cpu-exec.c gdbstub.c bswap.h \
 cpu-i386.h op-i386.c helper-i386.c helper2-i386.c syscall-i386.h translate-i386.c \
-exec-i386.h ops_template.h ops_template_mem.h op_string.h opreg_template.h \
+exec-i386.h ops_template.h ops_template_mem.h opreg_template.h \
 ops_mem.h softmmu_template.h softmmu_header.h \
 cpu-arm.h syscall-arm.h exec-arm.h op-arm.c translate-arm.c op-arm-template.h \
 dis-asm.h disas.c disas.h alpha-dis.c ppc-dis.c i386-dis.c sparc-dis.c \
@@ -84,7 +84,7 @@ FILE=qemu-$(VERSION)
 tar:
        rm -rf /tmp/$(FILE)
        mkdir -p /tmp/$(FILE)
-       cp -P $(FILES) /tmp/$(FILE)
+       cp --parent $(FILES) /tmp/$(FILE)
        ( cd /tmp ; tar zcvf ~/$(FILE).tar.gz $(FILE) )
        rm -rf /tmp/$(FILE)
 
index 27c79e8ca7846555c7260e9e97a3c052a8474361..71286935196ec539c9f89cf907be47de89e3f2b2 100644 (file)
@@ -153,7 +153,7 @@ endif
 VL_OBJS=vl.o block.o vga.o
 ifdef CONFIG_SDL
 VL_OBJS+=sdl.o
-SDL_LIBS+=-L/usr/X11R6/lib -lX11 -lXext -lXv -ldl
+SDL_LIBS+=-L/usr/X11R6/lib -lX11 -lXext -lXv -ldl -lm
 endif
 
 vl: $(VL_OBJS) libqemu.a