[Mesa-dev] [PATCH] anv: enable symbol visibility.

Kristian Høgsberg krh at bitplanet.net
Mon Feb 22 02:47:49 UTC 2016


On Sun, Feb 21, 2016 at 5:17 PM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This drops the amount of symbols visible down, vulkaninfo/vkcube
> still execute.

Thanks. It was always the intention to use this, but I guess we forgot
to turn it on.

Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>

> ---
>  src/intel/isl/Makefile.am    | 1 +
>  src/intel/vulkan/Makefile.am | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/src/intel/isl/Makefile.am b/src/intel/isl/Makefile.am
> index 72f5460..8f812d0 100644
> --- a/src/intel/isl/Makefile.am
> +++ b/src/intel/isl/Makefile.am
> @@ -29,6 +29,7 @@ EXTRA_DIST = tests
>  AM_CPPFLAGS = \
>         $(INTEL_CFLAGS) \
>         $(VALGRIND_CFLAGS) \
> +       $(VISIBILITY_CFLAGS) \
>         $(DEFINES) \
>         -I$(top_srcdir)/include \
>         -I$(top_srcdir)/src \
> diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
> index 6be4f9f..a343a4d 100644
> --- a/src/intel/vulkan/Makefile.am
> +++ b/src/intel/vulkan/Makefile.am
> @@ -51,6 +51,7 @@ noinst_LTLIBRARIES = $(PER_GEN_LIBS)
>  AM_CPPFLAGS = \
>         $(INTEL_CFLAGS) \
>         $(VALGRIND_CFLAGS) \
> +       $(VISIBILITY_CFLAGS) \
>         $(DEFINES) \
>         -I$(top_srcdir)/include \
>         -I$(top_srcdir)/src \
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list