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@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user