Don't use -fvisibility if it generates warnings ... like this one:
warning: visibility attribute not supported in this configuration; ignored --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402688
This commit is contained in:
parent
1930946b08
commit
4c8bcc59f7
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ CheckVisibilityHidden()
|
||||||
|
|
||||||
visibility_CFLAGS="-fvisibility=hidden"
|
visibility_CFLAGS="-fvisibility=hidden"
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$save_CFLAGS $visibility_CFLAGS"
|
CFLAGS="$save_CFLAGS $visibility_CFLAGS -Werror"
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
#if !defined(__GNUC__) || __GNUC__ < 4
|
#if !defined(__GNUC__) || __GNUC__ < 4
|
||||||
#error SDL only uses visibility attributes in GCC 4 or newer
|
#error SDL only uses visibility attributes in GCC 4 or newer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue