From: Dylan Baker Date: Thu, 9 Nov 2017 21:49:52 +0000 (-0800) Subject: autotools: Set C++ visibility flags on Intel X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=854455498c0370e959c0bb25680641e05faea3e2;p=mesa.git 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 Reviewed-by: Matt Turner --- 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)