Blame qemu-0.7.0-build.patch
|
David Woodhouse |
9b980e |
--- qemu-0.7.0/Makefile.orig 2005-04-27 21:52:05.000000000 +0100
|
|
David Woodhouse |
9b980e |
+++ qemu-0.7.0/Makefile 2005-04-30 11:01:41.000000000 +0100
|
|
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 |
bf4430 |
+CFLAGS=$(subst -mtune=pentium4,-mcpu=pentium4,$(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 |
9b980e |
--- qemu-0.7.0/Makefile.target.orig 2005-04-27 21:52:05.000000000 +0100
|
|
David Woodhouse |
9b980e |
+++ qemu-0.7.0/Makefile.target 2005-04-30 11:03:59.000000000 +0100
|
|
David Woodhouse |
9b980e |
@@ -14,7 +14,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 |
bf4430 |
+CFLAGS=$(subst -mtune=pentium4,-mcpu=pentium4,$(RPM_OPT_FLAGS)) -Wall -fno-strict-aliasing
|
|
David Woodhouse |
9b980e |
#CFLAGS+=-Werror
|
|
David Woodhouse |
c8e4b3 |
LDFLAGS=-g
|
|
David Woodhouse |
c8e4b3 |
LIBS=
|
|
David Woodhouse |
9b980e |
@@ -177,7 +177,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 |
bf4430 |
+OP_CFLAGS=$(subst -mtune=pentium4,-mcpu=pentium4,$(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 |
9b980e |
@@ -463,7 +463,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),)
|