From: Nicolai Hähnle Date: Wed, 15 Nov 2017 11:51:23 +0000 (+0100) Subject: amd: build addrlib with C++11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abeded1cacb5a17a422cb3788153814ed2e01ecb;p=mesa.git 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 Reviewed-by: Marek Olšák --- 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)