[Spice-devel] [PATCH 07/24] mingw32 build: -fvisibility test needs refinement, disable for now

Hans de Goede hdegoede at redhat.com
Wed Dec 8 00:31:59 PST 2010


Hmm,

Not sure if I like this one, as it will polute the server
.so will all kinds of symbols. Maybe we should just
change the test to be:

if test "x$have_gcc4" = "xyes" -a "$os_linux" = yes; then

?

Regards,

Hans


On 12/07/2010 10:28 PM, Alon Levy wrote:
> From: Gerd Hoffmann<kraxel at redhat.com>
>
> Signed-off-by: Gerd Hoffmann<kraxel at redhat.com>
> ---
>   configure.ac |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5fdc544..7287946 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -408,9 +408,9 @@ error Need GCC 4.0 for visibility
>   int main () { return 0; }
>   ], have_gcc4=yes)
>
> -if test "x$have_gcc4" = "xyes"; then
> -   VISIBILITY_HIDDEN_CFLAGS="-fvisibility=hidden"
> -fi
> +#if test "x$have_gcc4" = "xyes"; then
> +#   VISIBILITY_HIDDEN_CFLAGS="-fvisibility=hidden"
> +#fi
>   AC_MSG_RESULT($have_gcc4)
>   AC_SUBST(VISIBILITY_HIDDEN_CFLAGS)
>


More information about the Spice-devel mailing list