From: Eric Anholt Date: Fri, 21 Sep 2012 08:10:54 +0000 (+0200) Subject: i965: Use visibility cflags on the driver code. X-Git-Tag: mesa-9.1-rc1~2047 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=837f06b42fd46fdfdc0c85734dbad5497ea6d19f;p=platform%2Fupstream%2Fmesa.git i965: Use visibility cflags on the driver code. 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 Reviewed-by: Matt Turner --- 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)