aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-02 17:54:04 +0100
committerlemon <lsof@mailbox.org>2026-03-02 17:54:18 +0100
commitfb2120120ee0b5a0165e4d10ee64dfd7bf01814b (patch)
tree73915e0ede0e30cf27a78bd573a58ece8072c6ff /main.c
parentf2285400e65dafe730a073b3ca92494d72c7295b (diff)
driver: fix -pthread, -U
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3eb56ea..9710814 100644
--- a/main.c
+++ b/main.c
@@ -199,7 +199,7 @@ optparse(char **args)
const char *s = *++args;
if (!s) fatal(NULL, "missing target name");
task.targ = s;
- } else if (*arg == 'l' || *arg == 'L' || *arg == 'B' || !strcmp(arg, "shared")) {
+ } else if (*arg == 'l' || *arg == 'L' || *arg == 'B' || !strcmp(arg, "shared") || !strcmp(arg, "pthread")) {
vpush(&task.linkargs, arg-1);
} else if (!strcmp(arg, "v") || !strcmp(arg, "-verbose")) {
task.verbose = 1;