[Mesa-dev] [PATCH] android: add -Wl, --build-id=sha1 to LDFLAGS for libvulkan_intel

Jason Ekstrand jason at jlekstrand.net
Fri May 19 17:32:31 UTC 2017


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Fri, May 19, 2017 at 4:25 AM, Tapani Pälli <tapani.palli at intel.com>
wrote:

> Just like is done on desktop and what is expected by the build-id code.
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
>
> Jason, I commented before that this did not work but it seems I had other
> changes when testing that screwed up things, sorry for that, this works
> just fine!
>
>  src/intel/Android.vulkan.mk | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/intel/Android.vulkan.mk b/src/intel/Android.vulkan.mk
> index adb2a93..be23a00 100644
> --- a/src/intel/Android.vulkan.mk
> +++ b/src/intel/Android.vulkan.mk
> @@ -209,6 +209,8 @@ include $(CLEAR_VARS)
>  LOCAL_MODULE := libvulkan_intel
>  LOCAL_MODULE_CLASS := SHARED_LIBRARIES
>
> +LOCAL_LDFLAGS += -Wl,--build-id=sha1
> +
>  LOCAL_SRC_FILES := \
>         $(VULKAN_GEM_FILES)
>
> --
> 2.9.3
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170519/aaffa27b/attachment-0001.html>


More information about the mesa-dev mailing list