~mpu/qbe

OpenBSD: Link pthread lib when compiling tests v1 PROPOSED

Jason Lenz: 1
 OpenBSD: Link pthread lib when compiling tests

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mpu/qbe/patches/36299/mbox | git am -3
Learn more about email & git

[PATCH] OpenBSD: Link pthread lib when compiling tests Export this patch

---
 tools/test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test.sh b/tools/test.sh
index 9c0f9ee..04ad086 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -73,7 +73,7 @@ init() {
			cc="cc"
			;;
		*OpenBSD*)
			cc="cc -nopie"
			cc="cc -nopie -lpthread"
			;;
		*FreeBSD*)
			cc="cc"
-- 
2.37.3
Thanks, I've pushed a patch that addresses
the problem.