]> git.hungrycats.org Git - bees/commitdiff
Makefile: armv6l does not have builtin atomics, needs -latomic
authorZygo Blaxell <bees@furryterror.org>
Fri, 12 Sep 2025 17:32:07 +0000 (13:32 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 13 Sep 2025 08:43:52 +0000 (04:43 -0400)
Mad props for running bees on an architecture so ancient that it doesn't
even have floating point.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/Makefile
test/Makefile

index ae442e4255ef1a0a1ed64503be31781aa32ec68a..0945bc25c246fc421000cbfd6852bfbe2ceadde3 100644 (file)
@@ -5,7 +5,7 @@ all: $(BEES)
 include ../makeflags
 -include ../localconf
 
-LIBS = -lcrucible -lpthread
+LIBS = -lcrucible -lpthread -latomic
 BEES_LDFLAGS = -L../lib $(LDFLAGS)
 
 BEES_OBJS = \
index e8b8194e999655191dc719bb31be027454af917e..8e1d2458a1420feabc59d24cd6c1574995d22d3f 100644 (file)
@@ -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