[PATCH libdrm] configure: Support symbol visibility when available

2014-07-30 Thread Thierry Reding
From: Thierry Reding 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 via the VISIBILITY_CFLAGS. The drm_public macro can be

[PATCH libdrm] configure: Support symbol visibility when available

2014-07-30 Thread Emil Velikov
On 30/07/14 15:31, Rob Clark wrote: > On Wed, Jul 30, 2014 at 9:48 AM, Thierry Reding > wrote: >> From: Thierry Reding >> >> 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 wh

[PATCH libdrm] configure: Support symbol visibility when available

2014-07-30 Thread Emil Velikov
On 30/07/14 14:48, Thierry Reding wrote: > From: Thierry Reding > > 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

[PATCH libdrm] configure: Support symbol visibility when available

2014-07-30 Thread Rob Clark
On Wed, Jul 30, 2014 at 10:37 AM, Emil Velikov wrote: > On 30/07/14 15:31, Rob Clark wrote: >> On Wed, Jul 30, 2014 at 9:48 AM, Thierry Reding >> wrote: >>> From: Thierry Reding >>> >>> Checks whether or not the compiler supports the -fvisibility option. If >>> so it sets the VISIBILITY_CFLAGS

[PATCH libdrm] configure: Support symbol visibility when available

2014-07-30 Thread Rob Clark
On Wed, Jul 30, 2014 at 9:48 AM, Thierry Reding wrote: > From: Thierry Reding > > 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 w