[Mesa-dev] [PATCH 5/8] i965: Use visibility cflags on the driver code.
Matt Turner
mattst88 at gmail.com
Fri Sep 21 14:08:49 PDT 2012
On Fri, Sep 21, 2012 at 3:11 AM, Eric Anholt <eric at anholt.net> wrote:
> The only symbols that need to be public (those in intel_screen.c that the
> loader looks for) are already marked public. Saves 100k of compiled driver
> size.
> ---
> src/mesa/drivers/dri/i965/Makefile.am | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
> index 5bb62c4..574a499 100644
> --- a/src/mesa/drivers/dri/i965/Makefile.am
> +++ b/src/mesa/drivers/dri/i965/Makefile.am
> @@ -38,6 +38,7 @@ AM_CFLAGS = \
> -I$(top_srcdir)/src/mesa/drivers/dri/intel/server \
> $(DEFINES) \
> $(API_DEFINES) \
> + $(VISIBILITY_CFLAGS) \
> $(INTEL_CFLAGS)
>
> AM_CXXFLAGS = $(AM_CFLAGS)
> --
> 1.7.10.4
Reviewed-by: Matt Turner <mattst88 at gmail.com>
I'll get around to doing the other drivers.
More information about the mesa-dev
mailing list