From: "Andreas Färber" <andreas.faerber@web.de>
To: qemu-devel@nongnu.org
Cc: "Andreas Färber" <afaerber@opensolaris.org>,
"Palle Lyckegaard" <palle@lyckegaard.dk>
Subject: [Qemu-devel] [PATCH 2/3] Silence softfloat warnings on OpenSolaris
Date: Sat, 12 Dec 2009 20:10:56 +0100 [thread overview]
Message-ID: <1260645057-19819-3-git-send-email-andreas.faerber@web.de> (raw)
In-Reply-To: <1260645057-19819-2-git-send-email-andreas.faerber@web.de>
From: Andreas Färber <afaerber@opensolaris.org>
Don't define C99 math functions on OpenSolaris (Solaris 11),
which still ships GCC 3.4.3. This fixes redefinition warnings.
Spotted by Palle Lyckegaard.
Signed-off-by: Andreas Färber <afaerber@opensolaris.org>
Cc: Palle Lyckegaard <palle@lyckegaard.dk>
Cc: Ben Taylor <bentaylor.solx86@gmail.com>
---
fpu/softfloat-native.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h
index 35670c8..fe737b3 100644
--- a/fpu/softfloat-native.h
+++ b/fpu/softfloat-native.h
@@ -22,7 +22,7 @@
*/
#if defined(CONFIG_SOLARIS) && \
((CONFIG_SOLARIS_VERSION <= 9 ) || \
- ((CONFIG_SOLARIS_VERSION >= 10) && (__GNUC__ < 4))) \
+ ((CONFIG_SOLARIS_VERSION == 10) && (__GNUC__ < 4))) \
|| (defined(__OpenBSD__) && (OpenBSD < 200811))
/*
* C99 7.12.3 classification macros
--
1.6.5.3
next prev parent reply other threads:[~2009-12-12 19:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-12 19:10 [Qemu-devel] Build fixes for OpenSolaris x86 hosts Andreas Färber
2009-12-12 19:10 ` [Qemu-devel] [PATCH 1/3] tap: Compilation fix for Solaris Andreas Färber
2009-12-12 19:10 ` Andreas Färber [this message]
2009-12-12 19:10 ` [Qemu-devel] [PATCH 3/3] Workaround --whole-archive on Solaris Andreas Färber
[not found] ` <m3fx7fzz8v.fsf@neno.neno>
2009-12-12 23:07 ` [Qemu-devel] " Andreas Färber
2009-12-13 8:16 ` Andreas Färber
2009-12-13 10:21 ` Avi Kivity
2009-12-13 8:02 ` [Qemu-devel] [PATCH] Drop --whole-archive and static libraries Andreas Färber
2009-12-13 15:40 ` [Qemu-devel] [PATCH] Quickfix for libuser.a drop Andreas Färber
2009-12-13 15:55 ` Andreas Färber
2009-12-19 17:32 ` [Qemu-devel] [PATCH] Drop --whole-archive and static libraries Andreas Färber
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=1260645057-19819-3-git-send-email-andreas.faerber@web.de \
--to=andreas.faerber@web.de \
--cc=afaerber@opensolaris.org \
--cc=palle@lyckegaard.dk \
--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).