Merged -fvisibility detection fix from SDL 1.2 revision 3500
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402689
This commit is contained in:
parent
35b98313ed
commit
60e54e65d4
1 changed files with 1 additions and 1 deletions
|
@ -878,7 +878,7 @@ CheckVisibilityHidden()
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue