Mesa (master): i965: Use visibility cflags on the driver code.
Eric Anholt
anholt at kemper.freedesktop.org
Thu Sep 27 20:03:54 UTC 2012
Module: Mesa
Branch: master
Commit: 837f06b42fd46fdfdc0c85734dbad5497ea6d19f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=837f06b42fd46fdfdc0c85734dbad5497ea6d19f
Author: Eric Anholt <eric at anholt.net>
Date: Fri Sep 21 10:10:54 2012 +0200
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 <kenneth at whitecape.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/drivers/dri/i965/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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)
More information about the mesa-commit
mailing list