[Mesa-dev] [PATCH] amd: build addrlib with C++11

Vinson Lee vlee at freedesktop.org
Thu Nov 16 23:50:00 UTC 2017


On Wed, Nov 15, 2017 at 3:55 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> It is required for LLVM anyway.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103658
> Fixes: 7f33e94e43a6 ("amd/addrlib: update to latest version")
> ---
>  src/amd/Makefile.addrlib.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
> @@ -26,15 +26,15 @@ addrlib_libamdgpu_addrlib_la_CPPFLAGS = \
>         -I$(srcdir)/common \
>         -I$(srcdir)/addrlib \
>         -I$(srcdir)/addrlib/core \
>         -I$(srcdir)/addrlib/inc/chip/gfx9 \
>         -I$(srcdir)/addrlib/inc/chip/r800 \
>         -I$(srcdir)/addrlib/gfx9/chip \
>         -I$(srcdir)/addrlib/r800/chip \
>         -DBRAHMA_BUILD=1
>
>  addrlib_libamdgpu_addrlib_la_CXXFLAGS = \
> -       $(VISIBILITY_CXXFLAGS)
> +       $(VISIBILITY_CXXFLAGS) $(CXX11_CXXFLAGS)
>
>  noinst_LTLIBRARIES += $(ADDRLIB_LIBS)
>
>  addrlib_libamdgpu_addrlib_la_SOURCES = $(ADDRLIB_FILES)
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Tested-by: Vinson Lee <vlee at freedesktop.org>


More information about the mesa-dev mailing list