summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-09-17 22:57:56 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-09-17 22:57:56 +0000
commitb7dda06abfd13ef42bfc93b71e5be6bc0025b94a (patch)
tree7fb6b465279d4e9eb1f72dc4126272e41d09175f
parentfcf8fcc8e5988404fe40082d43419ef9ff30642f (diff)
downloadqemu-b7dda06abfd13ef42bfc93b71e5be6bc0025b94a.zip
Redhat 9 fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@383 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--Makefile4
-rw-r--r--Makefile.target2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1ecf99c945..28b08cadeb 100644
--- 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)
diff --git a/Makefile.target b/Makefile.target
index 27c79e8ca7..7128693519 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -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