提交 7ce9361c 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

remove duplicated TARGET_GPROF code

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
Message-Id: 
上级 264606b3
......@@ -379,11 +379,6 @@ ifdef CONFIG_SLIRP
QEMU_CFLAGS+=-I$(SRC_PATH)/slirp
endif
ifdef TARGET_GPROF
vl.o: QEMU_CFLAGS+=-p
LDFLAGS+=-p
endif
ifeq ($(ARCH),ia64)
LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/ia64.ld
endif
......@@ -391,7 +386,7 @@ endif
# profiling code
ifdef TARGET_GPROF
LDFLAGS+=-p
main.o: QEMU_CFLAGS+=-p
main.o vl.o: QEMU_CFLAGS+=-p
endif
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册