Skip to content

Commit

Permalink
Don't use -fvisibility if it generates warnings ... like this one:
Browse files Browse the repository at this point in the history
warning: visibility attribute not supported in this configuration; ignored
  • Loading branch information
slouken committed Dec 30, 2007
1 parent 31f73f2 commit cde55df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -833,7 +833,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
Expand Down

0 comments on commit cde55df

Please sign in to comment.