summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/Makefile.addrlib.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/Makefile.addrlib.am b/src/amd/Makefile.addrlib.am
index 434e6923492..64823fcdf16 100644
--- a/src/amd/Makefile.addrlib.am
+++ b/src/amd/Makefile.addrlib.am
@@ -30,6 +30,9 @@ addrlib_libamdgpu_addrlib_la_CPPFLAGS = \
-I$(srcdir)/addrlib/r800/chip \
-DBRAHMA_BUILD=1
+addrlib_libamdgpu_addrlib_la_CXXFLAGS = \
+ $(VISIBILITY_CXXFLAGS)
+
noinst_LTLIBRARIES += $(ADDRLIB_LIBS)
addrlib_libamdgpu_addrlib_la_SOURCES = $(ADDRLIB_FILES)