summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2023-04-24 14:17:56 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2023-04-24 14:17:56 +0000
commitb17b20cb1aeeb0ff862b4082982310bd98b95e74 (patch)
tree68abea3b219869e66165e8ef0a404d66a3a7ced1 /lib
parentdd88739827fc52bf6d1809340543b4fa7a9fa8bd (diff)
add the build id for libvulkan_radeon just like the intel* modules
this fixes an unveil issue where mesa was trying to stat the module to build an UUID because the build id was not available ok jsg@
Diffstat (limited to 'lib')
-rw-r--r--lib/mesa/mk/libvulkan_radeon/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/mk/libvulkan_radeon/Makefile b/lib/mesa/mk/libvulkan_radeon/Makefile
index de251dcfd..52a92c2fd 100644
--- a/lib/mesa/mk/libvulkan_radeon/Makefile
+++ b/lib/mesa/mk/libvulkan_radeon/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2023/04/06 10:23:44 jsg Exp $
+# $OpenBSD: Makefile,v 1.12 2023/04/24 14:17:55 robert Exp $
LIB= vulkan_radeon
@@ -159,7 +159,7 @@ LDADD+= -L${X11BASE}/lib -ldrm -ldrm_amdgpu \
-lX11 -lxcb-dri2 -lxcb-present -lxcb-xfixes -lxcb-sync \
-lxcb-randr -lxcb-shm -lxshmfence
-LDADD+= -Wl,--gc-sections \
+LDADD+= ${BUILD_ID_SHA1} -Wl,--gc-sections \
-Wl,--version-script ${MESA_SRC}/src/amd/vulkan/vulkan.sym \
-Wl,--end-group