Displaying 2 results from an estimated 2 matches for "libdrm_freedreno_cflags".
2014 Jul 30
2
[PATCH libdrm] configure: Support symbol visibility when available
On Wed, Jul 30, 2014 at 9:48 AM, Thierry Reding
<thierry.reding at gmail.com> wrote:
> From: Thierry Reding <treding at nvidia.com>
>
> Checks whether or not the compiler supports the -fvisibility option. If
> so it sets the VISIBILITY_CFLAGS variable which can be added to the per
> directory AM_CFLAGS where appropriate.
>
> By default all symbols will be hidden
2014 Jul 30
0
[PATCH libdrm] configure: Support symbol visibility when available
...rything be hidden?
>
> Maybe we should introduce drm_public first.. then once stuff is
> converted to use it actually start hiding things?
>
This adds the tool, but it's up-to the individual libraries/makefiles to make
use of it.
All you need is:
- append $(VISIBILITY_CFLAGS) to libdrm_freedreno_CFLAGS
- prefix each exported function definition with DRM_PUBLIC
- ***
- profit :P
-Emil
>
> BR,
> -R
>
>> Signed-off-by: Thierry Reding <treding at nvidia.com>
>> ---
>> Changes in v3:
>> - distribute libdrm.h
>>
>> Makefile.am | 1 +
>&g...