Commit 4c8bcc59 authored by Sam Lantinga's avatar Sam Lantinga

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
parent 1930946b
...@@ -833,7 +833,7 @@ CheckVisibilityHidden() ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment