summaryrefslogtreecommitdiff
path: root/lib/mesa/mk
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-25 23:36:16 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-25 23:36:16 +0000
commit606c90c430d9c3facb1a88ca0b58f41c4933903f (patch)
tree0597897a661d1948eb98269a065b5ace7b2b3323 /lib/mesa/mk
parentffe336e37486cf87f6de9255e3d08903865151e8 (diff)
move u_printf_length() to new file
lld can remove unused c++ sections from u_printf.cpp with --gc-sections ld.bfd from binutils 2.17 can't unless this function is moved u_printf_length() was added to u_printf.cpp upstream in vulkan: Add vk_asprintf and vk_vasprintf helpers 2db5536a461734a818caf4f519e3286accb0818f problem reported by deraadt@ and visa@ on sparc64 and octeon
Diffstat (limited to 'lib/mesa/mk')
-rw-r--r--lib/mesa/mk/libmesa_util/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mesa/mk/libmesa_util/Makefile b/lib/mesa/mk/libmesa_util/Makefile
index c94d8a12c..b39e14df4 100644
--- a/lib/mesa/mk/libmesa_util/Makefile
+++ b/lib/mesa/mk/libmesa_util/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2022/02/25 06:23:08 jsg Exp $
+# $OpenBSD: Makefile,v 1.5 2022/02/25 23:36:14 jsg Exp $
LIB= mesa_util
@@ -46,6 +46,7 @@ SRCS= anon_file.c \
u_debug_refcnt.c \
u_cpu_detect.c \
u_printf.cpp \
+ u_printf_length.c \
u_debug.c \
u_debug_memory.c \
u_math.c \