Blame qemu-0.6.1-build.patch

David Woodhouse c8e4b3
--- qemu-0.6.1/Makefile.strip	2005-02-13 14:38:23.000000000 +0000
David Woodhouse c8e4b3
+++ qemu-0.6.1/Makefile	2005-02-13 14:42:27.000000000 +0000
David Woodhouse c8e4b3
@@ -1,6 +1,6 @@
David Woodhouse c8e4b3
 -include config-host.mak
David Woodhouse c8e4b3
 
David Woodhouse c8e4b3
-CFLAGS=-Wall -O2 -g -fno-strict-aliasing 
David Woodhouse c8e4b3
+CFLAGS=$(RPM_OPT_FLAGS) -Wall -fno-strict-aliasing 
David Woodhouse c8e4b3
 ifdef CONFIG_DARWIN
David Woodhouse c8e4b3
 CFLAGS+= -mdynamic-no-pic
David Woodhouse c8e4b3
 endif
David Woodhouse c8e4b3
@@ -45,7 +45,7 @@
David Woodhouse c8e4b3
 install: all 
David Woodhouse c8e4b3
 	mkdir -p "$(bindir)"
David Woodhouse c8e4b3
 ifndef CONFIG_WIN32
David Woodhouse c8e4b3
-	install -m 755 -s $(TOOLS) "$(bindir)"
David Woodhouse c8e4b3
+	install -m 755 $(TOOLS) "$(bindir)"
David Woodhouse c8e4b3
 endif
David Woodhouse c8e4b3
 	mkdir -p "$(datadir)"
David Woodhouse c8e4b3
 	install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
David Woodhouse c8e4b3
--- qemu-0.6.1/Makefile.target.strip	2005-02-13 14:38:19.000000000 +0000
David Woodhouse c8e4b3
+++ qemu-0.6.1/Makefile.target	2005-02-13 14:42:49.000000000 +0000
David Woodhouse c8e4b3
@@ -7,7 +7,7 @@
David Woodhouse c8e4b3
 VPATH+=:$(SRC_PATH)/linux-user
David Woodhouse c8e4b3
 DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH)
David Woodhouse c8e4b3
 endif
David Woodhouse c8e4b3
-CFLAGS=-Wall -O2 -g -fno-strict-aliasing
David Woodhouse c8e4b3
+CFLAGS=$(RPM_OPT_FLAGS) -Wall -fno-strict-aliasing
David Woodhouse c8e4b3
 LDFLAGS=-g
David Woodhouse c8e4b3
 LIBS=
David Woodhouse c8e4b3
 HELPER_CFLAGS=$(CFLAGS)
David Woodhouse c8e4b3
@@ -148,7 +148,7 @@
David Woodhouse c8e4b3
 ifeq ($(ARCH),alpha)
David Woodhouse c8e4b3
 # -msmall-data is not used because we want two-instruction relocations
David Woodhouse c8e4b3
 # for the constant constructions
David Woodhouse c8e4b3
-OP_CFLAGS=-Wall -O2 -g
David Woodhouse c8e4b3
+OP_CFLAGS=$(RPM_OPT_FLAGS) -Wall
David Woodhouse c8e4b3
 # Ensure there's only a single GP
David Woodhouse c8e4b3
 CFLAGS += -msmall-data
David Woodhouse c8e4b3
 LDFLAGS+=-Wl,-T,$(SRC_PATH)/alpha.ld
David Woodhouse c8e4b3
@@ -397,7 +397,7 @@
David Woodhouse c8e4b3
 
David Woodhouse c8e4b3
 install: all 
David Woodhouse c8e4b3
 ifneq ($(PROGS),)
David Woodhouse c8e4b3
-	install -m 755 -s $(PROGS) "$(bindir)"
David Woodhouse c8e4b3
+	install -m 755 $(PROGS) "$(bindir)"
David Woodhouse c8e4b3
 endif
David Woodhouse c8e4b3
 
David Woodhouse c8e4b3
 ifneq ($(wildcard .depend),)