amd: build addrlib with C++11
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 15 Nov 2017 11:51:23 +0000 (12:51 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 20 Nov 2017 15:26:28 +0000 (16:26 +0100)
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 <vlee@freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/Makefile.addrlib.am

index 46689637f9b1f49fcbdc2ebdb6c5f6b917e3dc59..90dfe9634454218bee82bebd83bab11d95e9959b 100644 (file)
@@ -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)