summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-08-13 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-08-13 08:00:00 +0800
commit370c455f48b3994efdeee9aad2e7cbfc24fb7b56 (patch)
tree5a11baf98f28ed0f72238442ea014151ba6ba56b
parentCI: Add README and post-receive (diff)
downloadhaxircd-docs-master.tar.gz
haxircd-docs-master.zip
LAST_LDFLAGS = -lpthreadHEADmaster
Otherwise it won't run on OpenBSD.
-rw-r--r--ci/.makeopts1
-rw-r--r--config.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/ci/.makeopts b/ci/.makeopts
index 6fc0ae6..5d419d7 100644
--- a/ci/.makeopts
+++ b/ci/.makeopts
@@ -51,4 +51,5 @@ LAST_IPv6 =
# General options.
LAST_CFLAGS =
+LAST_LDFLAGS = -lpthread
LAST_CC = cc
diff --git a/config.md b/config.md
index 3beb6a9..59bbed0 100644
--- a/config.md
+++ b/config.md
@@ -385,6 +385,7 @@ LAST_IPv6 = 1
# General options.
LAST_CFLAGS =
+LAST_LDFLAGS = -lpthread
LAST_CC = cc
```