android: add -Wl,--build-id=sha1 to LDFLAGS for libvulkan_intel
authorTapani Pälli <tapani.palli@intel.com>
Fri, 19 May 2017 11:25:49 +0000 (14:25 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Sat, 20 May 2017 05:59:57 +0000 (08:59 +0300)
Just like is done on desktop and what is expected by the build-id code.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/Android.vulkan.mk

index 2bf56a41e97b5512b656b376536083d628e8654e..2ede3f75b3206dcd251ba4f2c470cabd46cbf69a 100644 (file)
@@ -206,6 +206,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)