mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 601984 - 2-byte/4-byte wchar mismatch warnings r=khuey a2.0=dougt
This commit is contained in:
parent
be736133e9
commit
6f746a27c9
@ -3141,7 +3141,14 @@ dnl Note that we assume that mac & win32 have short wchar (see nscore.h)
|
||||
if test "$ac_cv_have_usable_wchar_option_v2" = "yes"; then
|
||||
AC_DEFINE(HAVE_CPP_2BYTE_WCHAR_T)
|
||||
HAVE_CPP_2BYTE_WCHAR_T=1
|
||||
WCHAR_CFLAGS="-fshort-wchar"
|
||||
if test "$OS_TARGET" = Android; then
|
||||
WCHAR_CFLAGS="-fshort-wchar -Wl,--no-wchar-size-warning"
|
||||
CXXFLAGS="$CXXFLAGS -Wl,--no-wchar-size-warning"
|
||||
CFLAGS="$CFLAGS -Wl,--no-wchar-size-warning"
|
||||
DSO_LDOPTS="$DSO_LDOPTS -Wl,--no-wchar-size-warning"
|
||||
else
|
||||
WCHAR_CFLAGS="-fshort-wchar"
|
||||
fi
|
||||
else
|
||||
CXXFLAGS=$_SAVE_CXXFLAGS
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user