Merged -fvisibility detection fix from SDL 1.2 revision 3500
authorSam Lantinga <slouken@libsdl.org>
Sun, 30 Dec 2007 05:01:35 +0000
changeset 22924845eb8d4221
parent 2291 dc3dd3a0bf02
child 2293 824f6dee6648
Merged -fvisibility detection fix from SDL 1.2 revision 3500
configure.in
     1.1 --- a/configure.in	Sat Dec 29 22:15:39 2007 +0000
     1.2 +++ b/configure.in	Sun Dec 30 05:01:35 2007 +0000
     1.3 @@ -878,7 +878,7 @@
     1.4  
     1.5      visibility_CFLAGS="-fvisibility=hidden"
     1.6      save_CFLAGS="$CFLAGS"
     1.7 -    CFLAGS="$save_CFLAGS $visibility_CFLAGS"
     1.8 +    CFLAGS="$save_CFLAGS $visibility_CFLAGS -Werror"
     1.9      AC_TRY_COMPILE([
    1.10      #if !defined(__GNUC__) || __GNUC__ < 4
    1.11      #error SDL only uses visibility attributes in GCC 4 or newer