[PATCH libXfont 2/2] configure: Use -fvisibility=hidden if available

Emil Velikov emil.l.velikov at gmail.com
Sun May 29 10:27:04 UTC 2016


On 18 May 2016 at 16:52, Adam Jackson <ajax at redhat.com> wrote:
>    text    data     bss     dec     hex filename
>  233732    8168    1616  243516   3b73c .libs/libXfont2.so.2.before
>  217113    6816    1616  225545   37109 .libs/libXfont2.so.2.after
>
Since we recently created the #2 library, we really want to minimise
possible {ab,}use and hide all the non-API from the exports.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

For the long term, I think that we really want to go with the ideas in
the libICE thread:
 - add _X_EXPORT notation for Windows (Cygwin, Mingw, MSVC)
 - fold the following (and more) into a m4 macro shipped xorg-macros.
and use the one-liner (almost) everywhere.

-Emil


More information about the xorg-devel mailing list