diff mbox

Use propeer way to compile with HELPER_CFLAGS

Message ID 1252494285-10219-1-git-send-email-quintela@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Juan Quintela Sept. 9, 2009, 11:04 a.m. UTC
This makes the build quiet.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.target |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Comments

Avi Kivity Sept. 9, 2009, 11:55 a.m. UTC | #1
On 09/09/2009 02:04 PM, Juan Quintela wrote:
> This makes the build quiet.
>
>    

Applied, thanks.
diff mbox

Patch

diff --git a/Makefile.target b/Makefile.target
index 221cc2f..1d0fa11 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -91,9 +91,7 @@  op_helper.o cpu-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
 # cpu_signal_handler() in cpu-exec.c.
 signal.o: QEMU_CFLAGS += $(HELPER_CFLAGS)

-qemu-kvm-helper.o: qemu-kvm-helper.c
-	$(CC) $(HELPER_CFLAGS) $(QEMU_CFLAGS) $(CFLAGS) -c -o $@ $<
-
+qemu-kvm-helper.o: QEMU_CFLAGS += $(HELPER_CFLAGS)

 #########################################################
 # Linux user emulator target