diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-11-09 13:49:52 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-11-10 09:41:55 -0800 |
commit | 854455498c0370e959c0bb25680641e05faea3e2 (patch) | |
tree | 0c4ad5423784e70f3bd704e378e92d9acb9927be /src/intel/Makefile.am | |
parent | b8c85f5accad78d62476a02f0dc5eb64953998d7 (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 <dylanx.c.baker@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/intel/Makefile.am')
-rw-r--r-- | src/intel/Makefile.am | 3 |
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) |