diff configure.in @ 4125:21d48dbc2ca8 SDL-1.2

Don't use -fvisibility if it generates warnings ... like this one: warning: visibility attribute not supported in this configuration; ignored
author Sam Lantinga <slouken@libsdl.org>
date Sun, 30 Dec 2007 05:00:20 +0000
parents 0c3559059d6d
children f7e5a35a1d0d
line wrap: on
line diff
--- a/configure.in	Sat Dec 29 21:41:48 2007 +0000
+++ b/configure.in	Sun Dec 30 05:00:20 2007 +0000
@@ -833,7 +833,7 @@
 
     visibility_CFLAGS="-fvisibility=hidden"
     save_CFLAGS="$CFLAGS"
-    CFLAGS="$save_CFLAGS $visibility_CFLAGS"
+    CFLAGS="$save_CFLAGS $visibility_CFLAGS -Werror"
     AC_TRY_COMPILE([
     #if !defined(__GNUC__) || __GNUC__ < 4
     #error SDL only uses visibility attributes in GCC 4 or newer