i965: Use visibility cflags on the driver code.
authorEric Anholt <eric@anholt.net>
Fri, 21 Sep 2012 08:10:54 +0000 (10:10 +0200)
committerEric Anholt <eric@anholt.net>
Thu, 27 Sep 2012 19:52:53 +0000 (12:52 -0700)
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.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/Makefile.am

index 5bb62c49efde837a9499dcc5a056d659cb49e8e2..574a4992e7acff9daf8822e6a5a8e7011554c239 100644 (file)
@@ -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)