mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1001320. Part 5: Enable GCC visibility pragmas on Android. r=glandium
--HG-- extra : rebase_source : f9286815e8f07c9836fa64a423dd091e7c3d44d1
This commit is contained in:
parent
98448d0ba1
commit
2345bdb74c
@ -53,6 +53,7 @@ LOCAL_INCLUDES += [
|
||||
]
|
||||
|
||||
DISABLE_STL_WRAPPING = True
|
||||
NO_VISIBILITY_FLAGS = True
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['GNU_CXX']:
|
||||
|
@ -2550,8 +2550,13 @@ dnl ===============================================================
|
||||
if test "$GNU_CC"; then
|
||||
AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE)
|
||||
AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE)
|
||||
case "${OS_TARGET}" in
|
||||
Darwin|Android)
|
||||
if test -n "$gonkdir"; then
|
||||
visibility_target=Gonk
|
||||
else
|
||||
visibility_target=$OS_TARGET
|
||||
fi
|
||||
case "$visibility_target" in
|
||||
Darwin|Gonk)
|
||||
VISIBILITY_FLAGS='-fvisibility=hidden'
|
||||
;;
|
||||
*)
|
||||
|
@ -2088,8 +2088,13 @@ dnl ===============================================================
|
||||
if test "$GNU_CC"; then
|
||||
AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE)
|
||||
AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE)
|
||||
case "${OS_TARGET}" in
|
||||
Darwin|Android)
|
||||
if test -n "$gonkdir"; then
|
||||
visibility_target=Gonk
|
||||
else
|
||||
visibility_target=$OS_TARGET
|
||||
fi
|
||||
case "$visibility_target" in
|
||||
Darwin|Gonk)
|
||||
VISIBILITY_FLAGS='-fvisibility=hidden'
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user