[Mesa-dev] [PATCH] android: add -Wl, --build-id=sha1 to LDFLAGS for libvulkan_intel
Tapani Pälli
tapani.palli at intel.com
Fri May 19 11:25:49 UTC 2017
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
More information about the mesa-dev
mailing list