From 14ce9eba7a9cdbc32522e5123c98694577a436f1 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 27 Feb 2023 23:29:21 +0700 Subject: [PATCH] ANSI platform builds shouldn't link pthreads. Since this isn't using threads or POSIX locks, the `-lpthreads` should not be needed and having it only makes it easier to accidentally add some dependency on it. --- code/anangc.gmk | 2 +- code/ananll.gmk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/anangc.gmk b/code/anangc.gmk index b24aeaeb0a..d38127dc89 100644 --- a/code/anangc.gmk +++ b/code/anangc.gmk @@ -16,7 +16,7 @@ MPMPF = \ than.c \ vman.c -LIBS = -lm -lpthread +LIBS = -lm include gc.gmk diff --git a/code/ananll.gmk b/code/ananll.gmk index 3b8860e1e5..d8fc2c1af5 100644 --- a/code/ananll.gmk +++ b/code/ananll.gmk @@ -16,7 +16,7 @@ MPMPF = \ than.c \ vman.c -LIBS = -lm -lpthread +LIBS = -lm include ll.gmk