From: Christoph Egger <Christoph.Egger@amd.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] buildfix: unknown option "-Wno-error=uninitialized"
Date: Tue, 30 Jun 2009 11:15:33 +0200 [thread overview]
Message-ID: <200906301115.34111.Christoph.Egger@amd.com> (raw)
[-- 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)$@")
next reply other threads:[~2009-06-30 9:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 9:15 Christoph Egger [this message]
2009-06-30 10:05 ` [Qemu-devel] [PATCH] buildfix: unknown option "-Wno-error=uninitialized" Avi Kivity
2009-06-30 10:14 ` Christoph Egger
2009-06-30 10:20 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200906301115.34111.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).