summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-11-15 12:51:23 +0100
committerNicolai Hähnle <[email protected]>2017-11-20 16:26:28 +0100
commitabeded1cacb5a17a422cb3788153814ed2e01ecb (patch)
tree77fc741e516e4ae94603e0f6d13fb4a9a3d242bb
parentdf5ebe0c261e8d13683f2515be9ce263f5437bcd (diff)
amd: build addrlib with C++11
It is required for LLVM anyway. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103658 Fixes: 7f33e94e43a6 ("amd/addrlib: update to latest version") Tested-by: Vinson Lee <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/amd/Makefile.addrlib.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/Makefile.addrlib.am b/src/amd/Makefile.addrlib.am
index 46689637f9b..90dfe963445 100644
--- a/src/amd/Makefile.addrlib.am
+++ b/src/amd/Makefile.addrlib.am
@@ -33,7 +33,7 @@ addrlib_libamdgpu_addrlib_la_CPPFLAGS = \
-DBRAHMA_BUILD=1
addrlib_libamdgpu_addrlib_la_CXXFLAGS = \
- $(VISIBILITY_CXXFLAGS)
+ $(VISIBILITY_CXXFLAGS) $(CXX11_CXXFLAGS)
noinst_LTLIBRARIES += $(ADDRLIB_LIBS)