[Spice-devel] [PATCH 2/2] mingw32 build: disable -fvisibility test for unsupported mingw32 target
Alon Levy
alevy at redhat.com
Wed Dec 8 07:18:12 PST 2010
From: Gerd Hoffmann <kraxel at redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
v2: only disable for os_win32 (Hans)
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5b20e5b..72b377a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -435,7 +435,7 @@ error Need GCC 4.0 for visibility
int main () { return 0; }
], have_gcc4=yes)
-if test "x$have_gcc4" = "xyes"; then
+if test "x$have_gcc4" = "xyes" -a ! "$os_win32" = "yes" ; then
VISIBILITY_HIDDEN_CFLAGS="-fvisibility=hidden"
fi
AC_MSG_RESULT($have_gcc4)
--
1.7.3.2
More information about the Spice-devel
mailing list