[PATCH 0/1] MR3138: configure: Use -fvisibility=hidden when building with msvcrt and cross compiler is not available.
Currently, in PE modules, DECLSPEC_HIDDEN is useful only when cross compiler is missing. This makes non-PE build behavior more similar to proper PE builds, no longer requiring extra attention to support those configurations. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3138
From: Jacek Caban <jacek(a)codeweavers.com> --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 606be62632e..90c95c89ffb 100644 --- a/configure.ac +++ b/configure.ac @@ -1912,6 +1912,7 @@ char*f(const char *h,char n) {return strchr(h,n);}]])],[ac_cv_c_logicalop_noisy= *) MSVCRTFLAGS="-D_WIN32" WINE_TRY_CFLAGS([-fno-builtin],[MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"]) WINE_TRY_CFLAGS([-fshort-wchar],[MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"]) + WINE_TRY_CFLAGS([-fvisibility=hidden],[MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"]) WINE_TRY_CFLAGS([-Wno-format],[MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"]) ;; esac -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3138
participants (2)
-
Jacek Caban -
Jacek Caban (@jacek)