summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-09-20 15:56:10 -0700
committerMatt Turner <[email protected]>2012-10-01 15:23:04 -0700
commit710a90ccaf6ebdaad71b5d1d3fbb3e84773271ce (patch)
tree9b56e929d6d526bf3c6279f3bb326c85a32cb5e4 /src/mesa
parent63c3a051cd8c9de665fd2d1af61eee89e4c66537 (diff)
build: Turn on visibility CFLAGS for core mesa
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 8e4530da306..a76df8c306a 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -94,8 +94,8 @@ BUILDDIR = $(top_builddir)/src/mesa/
include sources.mak
AM_CPPFLAGS = $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
-AM_CFLAGS = $(LLVM_CFLAGS)
-AM_CXXFLAGS = $(LLVM_CFLAGS)
+AM_CFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CFLAGS)
+AM_CXXFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CXXFLAGS)
# cannot just add $(MESA_ASM_FILES) to libmesa_la_SOURCES as it contains a configure substitution
MESA_ASM_FILES_FOR_ARCH =