From 00efedfe75c2f6280da6c8fed172c0b690f083d9 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Fri, 12 Sep 2025 13:32:07 -0400 Subject: [PATCH] Makefile: armv6l does not have builtin atomics, needs -latomic Mad props for running bees on an architecture so ancient that it doesn't even have floating point. Signed-off-by: Zygo Blaxell --- src/Makefile | 2 +- test/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index ae442e4..0945bc2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,7 +5,7 @@ all: $(BEES) include ../makeflags -include ../localconf -LIBS = -lcrucible -lpthread +LIBS = -lcrucible -lpthread -latomic BEES_LDFLAGS = -L../lib $(LDFLAGS) BEES_OBJS = \ diff --git a/test/Makefile b/test/Makefile index e8b8194..8e1d245 100644 --- a/test/Makefile +++ b/test/Makefile @@ -19,7 +19,7 @@ FORCE: include ../makeflags -include ../localconf -LIBS = -lcrucible -lpthread +LIBS = -lcrucible -lpthread -latomic BEES_LDFLAGS = -L../lib $(LDFLAGS) %.dep: %.cc tests.h Makefile