|
| From: | Avi Kivity |
| Subject: | Re: [Qemu-devel] [PATCH] buildfix: unknown option "-Wno-error=uninitialized" |
| Date: | Tue, 30 Jun 2009 13:05:25 +0300 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 06/30/2009 12:15 PM, Christoph Egger wrote:
diff --git a/rules.mak b/rules.mak
index defee1d..8561289 100644
--- a/rules.mak
+++ b/rules.mak
@@ -1,6 +1,6 @@
%.o: %.c
- $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -Werror -Wno-error=uninitialized -c
-o $@ $<," CC $(TARGET_DIR)$@")
+ $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -Werror -c -o $@ $<," CC
$(TARGET_DIR)$@")
%.o: %.S
$(call quiet-command,$(CC) $(CPPFLAGS) -c -o $@ $<," AS
$(TARGET_DIR)$@")
Should remove the -Werror too, it's set by ./configure. -- error compiling committee.c: too many arguments to function
| [Prev in Thread] | Current Thread | [Next in Thread] |