Skip to contentSkip to conversation

Use propeer way to compile with HELPER_CFLAGS

PATCH Applied Juan Quintela 2 participants 2 messages Sep 9, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use propeer way to compile with HELPER_CFLAGS

This makes the build quiet.

---
 Makefile.target |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
Makefile.target +1 -3
index 221cc2f..1d0fa11 100644
@@ -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
Signature · 1 line
1.6.2.5
Applied
#1 lore raw
Quoted 3 lines · Juan Quintela

This makes the build quiet.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function