qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] buildfix: unknown option "-Wno-error=uninitialized"
@ 2009-06-30  9:15 Christoph Egger
  2009-06-30 10:05 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Egger @ 2009-06-30  9:15 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]


Hi!

Attached patch fixes the build error I get on NetBSD:
(NetBSD comes with gcc 4.1.3)

cc1: error: unrecognized command line option "-Wno-error=uninitialized"

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

[-- Attachment #2: qemu_rules.diff --]
[-- Type: text/x-diff, Size: 438 bytes --]

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)$@")

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-30 10:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30  9:15 [Qemu-devel] [PATCH] buildfix: unknown option "-Wno-error=uninitialized" Christoph Egger
2009-06-30 10:05 ` Avi Kivity
2009-06-30 10:14   ` Christoph Egger
2009-06-30 10:20     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).