mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
Don't use -fvisibilty=hidden on cygwin
All it's going to do is generate lots and lots and lots of 'warning: visibility attribute not supported in this configuration; ignored' warnings Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
This commit is contained in:
parent
560f76227c
commit
db78643182
1 changed files with 9 additions and 0 deletions
|
|
@ -189,6 +189,15 @@ if test "x$GXX" = xyes; then
|
|||
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
|
||||
fi
|
||||
|
||||
dnl even if the compiler appears to support it, using visibility attributes isn't
|
||||
dnl going to do anything useful currently on cygwin apart from emit lots of warnings
|
||||
case "$host_os" in
|
||||
cygwin*)
|
||||
VISIBILITY_CFLAGS=""
|
||||
VISIBILITY_CXXFLAGS=""
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST([VISIBILITY_CFLAGS])
|
||||
AC_SUBST([VISIBILITY_CXXFLAGS])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue