summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-09 13:49:52 -0800
committerEmil Velikov <[email protected]>2017-11-13 17:17:16 +0000
commite2036d7b385c4b5652d0af1dcf92269a6925d347 (patch)
tree4fd94bdf225565a5d71072cca0d2bcf1bb1f0e40 /src/intel
parent58d0ad6ff826c6a5a053067ce94cfee4bb20bea5 (diff)
autotools: Set C++ visibility flags on Intel
These flags are set for C sources, but not C++. This causes symbol visibility leaks from the C++ parts of the Intel compiler. Fixes: 700bebb958e93f4d ("i965: Move the back-end compiler to src/intel/compiler") Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Matt Turner <[email protected]> (cherry picked from commit 854455498c0370e959c0bb25680641e05faea3e2)
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am
index a34e3014497..6a5e393f175 100644
--- a/src/intel/Makefile.am
+++ b/src/intel/Makefile.am
@@ -46,6 +46,9 @@ AM_CFLAGS = \
$(VISIBILITY_CFLAGS) \
$(WNO_OVERRIDE_INIT)
+AM_CXXFLAGS = \
+ $(VISIBILITY_CXXFLAGS)
+
MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)